Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 53af4309747dc53c8414ef4b6c0cc479289a9f69..55c4c0919fa17e8419c889505754d44e7a6f3269 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -118,8 +118,6 @@ void GrGLProgramDesc::setRandom(SkMWCRandom* random, |
bool GrGpuGL::programUnitTest(int maxStages) { |
- maxStages = GrMin(maxStages, (int)GrDrawState::kNumStages); |
- |
GrTextureDesc dummyDesc; |
dummyDesc.fFlags = kRenderTarget_GrTextureFlagBit; |
dummyDesc.fConfig = kSkia8888_GrPixelConfig; |
@@ -207,7 +205,7 @@ static void GLProgramsTest(skiatest::Reporter* reporter, GrContextFactory* facto |
GrContext* context = factory->get(static_cast<GrContextFactory::GLContextType>(type)); |
if (NULL != context) { |
GrGpuGL* gpu = static_cast<GrGpuGL*>(context->getGpu()); |
- int maxStages = GrDrawState::kNumStages; |
+ int maxStages = 6; |
#if SK_ANGLE |
// Some long shaders run out of temporary registers in the D3D compiler on ANGLE. |
if (type == GrContextFactory::kANGLE_GLContextType) { |