Fix missing barrier in compute test

The test does:

- Draw with transform feedback
- Dispatch using the same buffer as storage buffer

This is a WaR hazard that needs a glMemoryBarrier.

VK-GL-CTS issue: 2809

Affects:
KHR-GLES31.core.compute_shader.pipeline-post-xfb
KHR-GL43.compute_shader.pipeline-post-xfb
KHR-GL44.compute_shader.pipeline-post-xfb
KHR-GL45.compute_shader.pipeline-post-xfb
KHR-GL46.compute_shader.pipeline-post-xfb

Change-Id: I18202640e307490352c0c6a6f42e145b054aedd8
diff --git a/external/openglcts/modules/gl/gl4cComputeShaderTests.cpp b/external/openglcts/modules/gl/gl4cComputeShaderTests.cpp
index dd77f27..6b53f18 100644
--- a/external/openglcts/modules/gl/gl4cComputeShaderTests.cpp
+++ b/external/openglcts/modules/gl/gl4cComputeShaderTests.cpp
@@ -4774,6 +4774,8 @@
 		glDrawArrays(GL_TRIANGLES, 0, 3);
 		glEndTransformFeedback();
 
+		glMemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
+
 		glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 3, m_xfb_buffer);
 		glUseProgram(m_program[1]);
 		glDispatchCompute(1, 1, 1);
diff --git a/external/openglcts/modules/gles31/es31cComputeShaderTests.cpp b/external/openglcts/modules/gles31/es31cComputeShaderTests.cpp
index 651b4a8..24821ad 100644
--- a/external/openglcts/modules/gles31/es31cComputeShaderTests.cpp
+++ b/external/openglcts/modules/gles31/es31cComputeShaderTests.cpp
@@ -4486,6 +4486,8 @@
 		glDrawArrays(GL_TRIANGLES, 0, 3);
 		glEndTransformFeedback();
 
+		glMemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
+
 		glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 3, m_xfb_buffer);
 		glUseProgram(m_program[1]);
 		glDispatchCompute(1, 1, 1);