summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2014-06-12 15:01:49 -0700
committerChad Versace <chad.versace@linux.intel.com>2014-06-23 02:37:36 -0700
commite31de3308f164eaa22353357ae075e344ac40118 (patch)
tree6d51a67661a809760590bb703d22ecf6a4520951 /cmake
parent0caf33e1722fc3f3aeb04b744c40fba5d6d09a16 (diff)
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 <chad.versace@linux.intel.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/piglit_dispatch.cmake2
1 files changed, 2 insertions, 0 deletions
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(