summaryrefslogtreecommitdiff
path: root/tests/util/CMakeLists.gl.txt
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 /tests/util/CMakeLists.gl.txt
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 'tests/util/CMakeLists.gl.txt')
-rw-r--r--tests/util/CMakeLists.gl.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/util/CMakeLists.gl.txt b/tests/util/CMakeLists.gl.txt
index 0a2cc256f..d414dd9e8 100644
--- a/tests/util/CMakeLists.gl.txt
+++ b/tests/util/CMakeLists.gl.txt
@@ -5,7 +5,6 @@ set(UTIL_GL_SOURCES
piglit-matrix.c
piglit-shader.c
piglit-shader-gl.c
- piglit-util-gl-enum.c
piglit-util-gl.c
piglit-test-pattern.cpp
piglit-fbo.cpp
@@ -34,12 +33,12 @@ IF(PIGLIT_BUILD_GLX_TESTS)
piglit-shader.c
piglit-shader-gl.c
piglit-util-gl-common.c
- piglit-util-gl-enum.c
piglit-util-gl.c
piglit-glx-framework.c
piglit-glx-util.c
piglit-dispatch.c
piglit-dispatch-init.c
+ ${piglit_dispatch_gen_output_dir}/piglit-util-gl-enum-gen.c
)
target_link_libraries(piglitglxutil
piglitutil_${piglit_target_api}