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>
Mon, 18 Sep 2017 21:59:27 +0000 (14:59 -0700)
Bug: 64845766
Bug: 65175554
Test: Ran tests on couple of Google devices
Change-Id: Iee2918c1e45ad305dd9ca30f1b81998bdac06127

modules/egl/teglRobustnessTests.cpp

index f43ff74..0356584 100644 (file)
@@ -1245,7 +1245,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