Index: tests/GLProgramsTest.cpp |
=================================================================== |
--- tests/GLProgramsTest.cpp (revision 8387) |
+++ tests/GLProgramsTest.cpp (working copy) |
@@ -39,17 +39,10 @@ |
fExperimentalGS = gpu->caps()->geometryShaderSupport() && random->nextBool(); |
#endif |
- bool edgeAA = random->nextBool(); |
- if (edgeAA) { |
- fAttribBindings |= GrDrawState::kEdge_AttribBindingsBit; |
- if (gpu->caps()->shaderDerivativeSupport()) { |
- fVertexEdgeType = (GrDrawState::VertexEdgeType) |
- random->nextULessThan(GrDrawState::kVertexEdgeTypeCnt); |
- fDiscardIfOutsideEdge = random->nextBool(); |
- } else { |
- fVertexEdgeType = GrDrawState::kHairLine_EdgeType; |
- fDiscardIfOutsideEdge = false; |
- } |
+ if (gpu->caps()->shaderDerivativeSupport()) { |
+ fDiscardIfOutsideEdge = random->nextBool(); |
+ } else { |
+ fDiscardIfOutsideEdge = false; |
} |
if (gpu->caps()->dualSourceBlendingSupport()) { |
@@ -84,10 +77,6 @@ |
fCoverageAttributeIndex = attributeIndex; |
++attributeIndex; |
} |
- if (fAttribBindings & GrDrawState::kEdge_AttribBindingsBit) { |
- fEdgeAttributeIndex = attributeIndex; |
- ++attributeIndex; |
- } |
if (fAttribBindings & GrDrawState::kLocalCoords_AttribBindingsBit) { |
fLocalCoordsAttributeIndex = attributeIndex; |
++attributeIndex; |