Add missing barrier() to shared var test shader
authorPyry Haulos <phaulos@google.com>
Fri, 17 Oct 2014 21:47:54 +0000 (14:47 -0700)
committerPyry Haulos <phaulos@google.com>
Fri, 17 Oct 2014 21:49:08 +0000 (14:49 -0700)
Bug: 18033432
Change-Id: Id64798a196c8567828385b24ccde845b1b5efafb

modules/gles31/functional/es31fShaderSharedVarTests.cpp

index 9409107..d8f79ce 100644 (file)
@@ -145,6 +145,8 @@ void SharedBasicVarCase::init (void)
                << "\n"
                << "            if (s_var != u_ref[ndx%uint(u_ref.length())])\n"
                << "                    allOk = false;\n"
+               << "\n"
+               << "            barrier();\n"
                << "    }\n"
                << "\n"
                << "    isOk[gl_LocalInvocationIndex] = allOk;\n"