| Index: tests/GLProgramsTest.cpp
|
| diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
|
| index 9fa8dafda61f9bd9ab0d83d0622a9f2c5d093474..065abf662b5b0670804067691c7ce9f9a6b1b3f0 100644
|
| --- a/tests/GLProgramsTest.cpp
|
| +++ b/tests/GLProgramsTest.cpp
|
| @@ -435,18 +435,22 @@ DEF_GPUTEST(GLPrograms, reporter, factory) {
|
| 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
|
| +#endif
|
| REPORTER_ASSERT(reporter, GrDrawingManager::ProgramUnitTest(context, maxStages));
|
| }
|
| }
|
|
|