From e31de3308f164eaa22353357ae075e344ac40118 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Thu, 12 Jun 2014 15:01:49 -0700 Subject: util: Generate piglit_get_gl_enum_name() and friends This patch removes the files "piglit-util-gl*-enum.c" and replaces them with a single file "piglit-util-gl-enum-gen.c" generated from the Khronos XML. The two functions now generated are: piglit_get_gl_enum_name(GLenum param) piglit_get_prim_name(GLenum prim) Signed-off-by: Chad Versace --- cmake/piglit_dispatch.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake') diff --git a/cmake/piglit_dispatch.cmake b/cmake/piglit_dispatch.cmake index 94a5ff0b8..93d6a3a2b 100644 --- a/cmake/piglit_dispatch.cmake +++ b/cmake/piglit_dispatch.cmake @@ -27,6 +27,7 @@ file(MAKE_DIRECTORY ${piglit_dispatch_gen_output_dir}) set(piglit_dispatch_gen_outputs ${piglit_dispatch_gen_output_dir}/piglit-dispatch-gen.c ${piglit_dispatch_gen_output_dir}/piglit-dispatch-gen.h + ${piglit_dispatch_gen_output_dir}/piglit-util-gl-enum-gen.c ) set(piglit_dispatch_gen_depends @@ -36,6 +37,7 @@ set(piglit_dispatch_gen_depends ${CMAKE_SOURCE_DIR}/tests/util/gen_dispatch.py ${CMAKE_SOURCE_DIR}/tests/util/piglit-dispatch-gen.c.mako ${CMAKE_SOURCE_DIR}/tests/util/piglit-dispatch-gen.h.mako + ${CMAKE_SOURCE_DIR}/tests/util/piglit-util-gl-enum-gen.c.mako ) add_custom_command( -- cgit v1.2.3