| Index: tests/GLProgramsTest.cpp
|
| diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
|
| index 065abf662b5b0670804067691c7ce9f9a6b1b3f0..9fa8dafda61f9bd9ab0d83d0622a9f2c5d093474 100644
|
| --- a/tests/GLProgramsTest.cpp
|
| +++ b/tests/GLProgramsTest.cpp
|
| @@ -435,25 +435,21 @@
|
| return;
|
| }
|
| #if SK_ANGLE
|
| -#ifdef SK_BUILD_FOR_WIN
|
| // Some long shaders run out of temporary registers in the D3D compiler on ANGLE.
|
| if (type == GrContextFactory::kANGLE_GLContextType) {
|
| maxStages = 2;
|
| }
|
| #endif
|
| -#endif
|
| #if SK_COMMAND_BUFFER
|
| -#ifdef SK_BUILD_FOR_WIN
|
| // Some long shaders run out of temporary registers in the D3D compiler on ANGLE.
|
| // TODO(hendrikw): This only needs to happen with the ANGLE comand buffer backend.
|
| if (type == GrContextFactory::kCommandBuffer_GLContextType) {
|
| maxStages = 2;
|
| }
|
| #endif
|
| + REPORTER_ASSERT(reporter, GrDrawingManager::ProgramUnitTest(context, maxStages));
|
| + }
|
| + }
|
| +}
|
| +
|
| #endif
|
| - REPORTER_ASSERT(reporter, GrDrawingManager::ProgramUnitTest(context, maxStages));
|
| - }
|
| - }
|
| -}
|
| -
|
| -#endif
|
|
|