Fix unused uniform bug in EGL robustness tests
authorMika Isojärvi <misojarvi@google.com>
Thu, 31 Aug 2017 19:13:05 +0000 (12:13 -0700)
committerMika Isojärvi <misojarvi@google.com>
Tue, 5 Sep 2017 17:39:21 +0000 (10:39 -0700)
Bug: 64845766
Bug: 65175554
Test: Ran tests on couple of Google devices
Change-Id: Iee2918c1e45ad305dd9ca30f1b81998bdac06127

modules/egl/teglRobustnessTests.cpp

index 2521778..452777f 100644 (file)
@@ -1252,7 +1252,7 @@ glu::ProgramSources ShadersOOB::genComputeSource (void)
                                                                                         ? "    sb_out.values.x = values[u_index];\n"
                                                                                         : "    sb_out.values[u_index] = values.x;\n";
 
-               shaderBody      << "    highp vec4 values = vec4(1.0f) * float(groupNdx);\n"
+               shaderBody      << "    highp vec4 values = vec4(1.0f, 0.0f, 3.0f, 2.0f) * float(groupNdx);\n"
                                        << readWriteStatement;
        }
        else