[Piglit] [PATCH 02/12] util: Add ARB_compute_shader support to piglit_get_gl_enum_name().

Paul Berry stereotype441 at gmail.com
Thu Jan 9 10:59:53 PST 2014


---
 tests/util/piglit-util-gl-enum.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/tests/util/piglit-util-gl-enum.c b/tests/util/piglit-util-gl-enum.c
index 8769f4d..8deb58f 100644
--- a/tests/util/piglit-util-gl-enum.c
+++ b/tests/util/piglit-util-gl-enum.c
@@ -997,6 +997,12 @@ piglit_get_gl_enum_name(GLenum param)
 	CASE(GL_VIEWPORT_INDEX_PROVOKING_VERTEX)	// 0x825F
 	CASE(GL_UNDEFINED_VERTEX)	// 0x8260
 	CASE(GL_NO_RESET_NOTIFICATION_ARB)	// 0x8261
+	CASE(GL_MAX_COMPUTE_SHARED_MEMORY_SIZE)	// 0x8262
+	CASE(GL_MAX_COMPUTE_UNIFORM_COMPONENTS)	// 0x8263
+	CASE(GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS)	// 0x8264
+	CASE(GL_MAX_COMPUTE_ATOMIC_COUNTERS)	// 0x8265
+	CASE(GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS)	// 0x8266
+	CASE(GL_COMPUTE_WORK_GROUP_SIZE)	// 0x8267
 	//CASE(GL_DEPTH_PASS_INSTRUMENT_SGIX)	// 0x8310
 	//CASE(GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX)	// 0x8311
 	//CASE(GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX)	// 0x8312
@@ -2875,6 +2881,11 @@ piglit_get_gl_enum_name(GLenum param)
 	CASE(GL_MAX_FRAGMENT_IMAGE_UNIFORMS)	// 0x90CE
 	CASE(GL_MAX_COMBINED_IMAGE_UNIFORMS)	// 0x90CF
 	CASE(GL_SYNC_X11_FENCE_EXT)	// 0x90E1
+	CASE(GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS)	// 0x90EB
+	CASE(GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER)	// 0x90EC
+	CASE(GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER)	// 0x90ED
+	CASE(GL_DISPATCH_INDIRECT_BUFFER)	// 0x90EE
+	CASE(GL_DISPATCH_INDIRECT_BUFFER_BINDING)	// 0x90EF
 	CASE(GL_TEXTURE_2D_MULTISAMPLE)	// 0x9100
 	CASE(GL_PROXY_TEXTURE_2D_MULTISAMPLE)	// 0x9101
 	CASE(GL_TEXTURE_2D_MULTISAMPLE_ARRAY)	// 0x9102
@@ -2946,6 +2957,12 @@ piglit_get_gl_enum_name(GLenum param)
 	CASE(GL_QUERY_OBJECT_AMD)	// 0x9153
 	CASE(GL_VERTEX_ARRAY_OBJECT_AMD)	// 0x9154
 	CASE(GL_SAMPLER_OBJECT_AMD)	// 0x9155
+	CASE(GL_COMPUTE_SHADER)	// 0x91B9
+	CASE(GL_MAX_COMPUTE_UNIFORM_BLOCKS)	// 0x91BB
+	CASE(GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS)	// 0x91BC
+	CASE(GL_MAX_COMPUTE_IMAGE_UNIFORMS)	// 0x91BD
+	CASE(GL_MAX_COMPUTE_WORK_GROUP_COUNT)	// 0x91BE
+	CASE(GL_MAX_COMPUTE_WORK_GROUP_SIZE)	// 0x91BF
 	//CASE(GL_SHADER_BINARY_DMP)	# 0x9250
 	CASE(GL_ATOMIC_COUNTER_BUFFER)	// 0x92C0
 	CASE(GL_ATOMIC_COUNTER_BUFFER_BINDING)	// 0x92C1
-- 
1.8.5.2



More information about the Piglit mailing list