[Piglit] [PATCH v3 09/19] piglit-dispatch: Additions to OpenGL API spec files.

Paul Berry stereotype441 at gmail.com
Wed Mar 21 08:58:08 PDT 2012


This patch adds enums for the following extensions to the OpenGL API
spec files:

- OES_compressed_paletted_texture: This extension defines 10 enums,
  which are required to compile the test
  "spec/OES_compressed_paletted_texture/invalid formats".  These enums
  were already present in the OpenGL API spec files, but they were
  commented out (since they are part of GLES).

- ATI_texture_compression_3dc: These enums are required to compile the
  test "spec/ARB_texture_compression/unknown formats".

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

v2: Remove NVX_gpu_memory_info enums
---
 glapi/enumext.spec |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/glapi/enumext.spec b/glapi/enumext.spec
index ead6983..ae3c381 100644
--- a/glapi/enumext.spec
+++ b/glapi/enumext.spec
@@ -6063,16 +6063,16 @@ ATI_vertex_attrib_array_object enum:
 
 # Extension #294 - OpenGL ES only, not in glext.h
 # OES_compressed_paletted_texture enum:
-#	PALETTE4_RGB8_OES				= 0x8B90
-#	PALETTE4_RGBA8_OES				= 0x8B91
-#	PALETTE4_R5_G6_B5_OES				= 0x8B92
-#	PALETTE4_RGBA4_OES				= 0x8B93
-#	PALETTE4_RGB5_A1_OES				= 0x8B94
-#	PALETTE8_RGB8_OES				= 0x8B95
-#	PALETTE8_RGBA8_OES				= 0x8B96
-#	PALETTE8_R5_G6_B5_OES				= 0x8B97
-#	PALETTE8_RGBA4_OES				= 0x8B98
-#	PALETTE8_RGB5_A1_OES				= 0x8B99
+	PALETTE4_RGB8_OES				= 0x8B90
+	PALETTE4_RGBA8_OES				= 0x8B91
+	PALETTE4_R5_G6_B5_OES				= 0x8B92
+	PALETTE4_RGBA4_OES				= 0x8B93
+	PALETTE4_RGB5_A1_OES				= 0x8B94
+	PALETTE8_RGB8_OES				= 0x8B95
+	PALETTE8_RGBA8_OES				= 0x8B96
+	PALETTE8_R5_G6_B5_OES				= 0x8B97
+	PALETTE8_RGBA4_OES				= 0x8B98
+	PALETTE8_RGB5_A1_OES				= 0x8B99
 
 ###############################################################################
 
@@ -7323,3 +7323,6 @@ AMD_stencil_operation_extended enum:
 	STENCIL_OP_VALUE_AMD				= 0x874C
 	STENCIL_BACK_OP_VALUE_AMD			= 0x874D
 
+# Extension #???
+ATI_texture_compression_3dc enum:
+        COMPRESSED_LUMINANCE_ALPHA_3DC_ATI		= 0x8837
-- 
1.7.7.6



More information about the Piglit mailing list