[Piglit] [PATCH] arb_compute_shader glsl min/max: Update gl_MaxComputeUniformComponents

Jordan Justen jordan.l.justen at intel.com
Thu Jul 24 14:52:00 PDT 2014


The http://www.opengl.org/registry/specs/ARB/compute_shader.txt spec
has an inconsistency:
 * gl_MaxComputeUniformComponents is spec'd as 1024
 * MAX_COMPUTE_UNIFORM_COMPONENTS is spec'd as 512

In Khronos bug 12370 this has been resolved in that the GLSL version
should be lowered to 512.

Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
 tests/spec/arb_compute_shader/minimum-maximums.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/spec/arb_compute_shader/minimum-maximums.txt b/tests/spec/arb_compute_shader/minimum-maximums.txt
index 3d55c8f..85cac37 100644
--- a/tests/spec/arb_compute_shader/minimum-maximums.txt
+++ b/tests/spec/arb_compute_shader/minimum-maximums.txt
@@ -7,7 +7,7 @@ gl_MaxComputeWorkGroupCount.z 65535
 gl_MaxComputeWorkGroupSize.x 1024
 gl_MaxComputeWorkGroupSize.y 1024
 gl_MaxComputeWorkGroupSize.z 64
-gl_MaxComputeUniformComponents 1024
+gl_MaxComputeUniformComponents 512
 gl_MaxComputeTextureImageUnits 16
 gl_MaxComputeImageUniforms 8
 gl_MaxComputeAtomicCounters 8
-- 
2.0.1



More information about the Piglit mailing list