[Piglit] [PATCH 4/4] ATI_fs: add build system integration
Miklós Máté
mtmkls at gmail.com
Tue Nov 21 00:04:24 UTC 2017
Signed-off-by: Miklós Máté <mtmkls at gmail.com>
---
tests/spec/CMakeLists.txt | 1 +
tests/spec/ati_fragment_shader/CMakeLists.gl.txt | 37 ++++++++++++++++++++++++
tests/spec/ati_fragment_shader/CMakeLists.txt | 1 +
3 files changed, 39 insertions(+)
create mode 100644 tests/spec/ati_fragment_shader/CMakeLists.gl.txt
create mode 100644 tests/spec/ati_fragment_shader/CMakeLists.txt
diff --git a/tests/spec/CMakeLists.txt b/tests/spec/CMakeLists.txt
index 99fa95f5f..5e66fa8e5 100644
--- a/tests/spec/CMakeLists.txt
+++ b/tests/spec/CMakeLists.txt
@@ -81,6 +81,7 @@ add_subdirectory (arb_transform_feedback3)
add_subdirectory (arb_transform_feedback_overflow_query)
add_subdirectory (arb_viewport_array)
add_subdirectory (ati_envmap_bumpmap)
+add_subdirectory (ati_fragment_shader)
add_subdirectory (ext_depth_bounds_test)
add_subdirectory (ext_frag_depth)
add_subdirectory (ext_fog_coord)
diff --git a/tests/spec/ati_fragment_shader/CMakeLists.gl.txt b/tests/spec/ati_fragment_shader/CMakeLists.gl.txt
new file mode 100644
index 000000000..3dc99fd62
--- /dev/null
+++ b/tests/spec/ati_fragment_shader/CMakeLists.gl.txt
@@ -0,0 +1,37 @@
+include_directories(
+ ${GLEXT_INCLUDE_DIR}
+ ${OPENGL_INCLUDE_PATH}
+)
+
+link_libraries (
+ piglitutil_${piglit_target_api}
+ ${OPENGL_gl_LIBRARY}
+)
+
+piglit_add_executable (ati_fragment_shader-api-gen api-gen.c)
+piglit_add_executable (ati_fragment_shader-api-alphafirst api-alphafirst.c)
+
+piglit_add_executable (ati_fragment_shader-error01-genzero error01-genzero.c)
+piglit_add_executable (ati_fragment_shader-error02-inside error02-inside.c)
+piglit_add_executable (ati_fragment_shader-error03-outside error03-outside.c)
+piglit_add_executable (ati_fragment_shader-error04-endshader error04-endshader.c)
+piglit_add_executable (ati_fragment_shader-error05-passes error05-passes.c)
+piglit_add_executable (ati_fragment_shader-error06-regswizzle error06-regswizzle.c)
+piglit_add_executable (ati_fragment_shader-error07-instcount error07-instcount.c)
+piglit_add_executable (ati_fragment_shader-error08-secondary error08-secondary.c)
+piglit_add_executable (ati_fragment_shader-error09-allconst error09-allconst.c)
+piglit_add_executable (ati_fragment_shader-error10-dotx error10-dotx.c)
+piglit_add_executable (ati_fragment_shader-error11-invaliddst error11-invaliddst.c)
+piglit_add_executable (ati_fragment_shader-error12-invalidsrc error12-invalidsrc.c)
+piglit_add_executable (ati_fragment_shader-error13-invalidarg error13-invalidarg.c)
+piglit_add_executable (ati_fragment_shader-error14-invalidmod error14-invalidmod.c)
+
+piglit_add_executable (ati_fragment_shader-render-default render-default.c)
+piglit_add_executable (ati_fragment_shader-render-sources render-sources.c)
+piglit_add_executable (ati_fragment_shader-render-notexture render-notexture.c)
+piglit_add_executable (ati_fragment_shader-render-constants render-constants.c)
+piglit_add_executable (ati_fragment_shader-render-precedence render-precedence.c)
+piglit_add_executable (ati_fragment_shader-render-fog render-fog.c)
+piglit_add_executable (ati_fragment_shader-render-textargets render-textargets.c)
+
+# vim: ft=cmake:
diff --git a/tests/spec/ati_fragment_shader/CMakeLists.txt b/tests/spec/ati_fragment_shader/CMakeLists.txt
new file mode 100644
index 000000000..144a306f4
--- /dev/null
+++ b/tests/spec/ati_fragment_shader/CMakeLists.txt
@@ -0,0 +1 @@
+piglit_include_target_api()
--
2.15.0.rc0
More information about the Piglit
mailing list