[Piglit] [PATCH v3 06/19] Remove NVX_gpu_memory_info enums from piglit-util-enum.c

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


NVX_gpu_memory_info is an unofficial extension which isn't tested by
Piglit, so there's no reason we need to have its enums in
piglit-util-enum.c.  Furthermore, when we switch over to using
piglit-dispatch, these enums won't work anymore, since they aren't
included in the enumext.spec file published by opengl.org.  So just
comment them out for now.
---
 tests/util/piglit-util-enum.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/util/piglit-util-enum.c b/tests/util/piglit-util-enum.c
index c73fd64..6c6325e 100644
--- a/tests/util/piglit-util-enum.c
+++ b/tests/util/piglit-util-enum.c
@@ -2819,11 +2819,11 @@ piglit_get_gl_enum_name(GLenum param)
 	CASE(GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV)	// 0x903C
 	CASE(GL_TEXTURE_COVERAGE_SAMPLES_NV)	// 0x9045
 	CASE(GL_TEXTURE_COLOR_SAMPLES_NV)	// 0x9046
-	CASE(GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX) // 0x9047
-	CASE(GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX) // 0x9048
-	CASE(GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX) // 0x9049
-	CASE(GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX) // 0x904A
-	CASE(GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX) // 0x904B
+	//CASE(GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX) // 0x9047
+	//CASE(GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX) // 0x9048
+	//CASE(GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX) // 0x9049
+	//CASE(GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX) // 0x904A
+	//CASE(GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX) // 0x904B
 	CASE(GL_IMAGE_1D)	// 0x904C
 	CASE(GL_IMAGE_2D)	// 0x904D
 	CASE(GL_IMAGE_3D)	// 0x904E
-- 
1.7.7.6



More information about the Piglit mailing list