aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/all.tests1
-rw-r--r--tests/spec/glsl-1.10/execution/CMakeLists.gl.txt14
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/all.tests b/tests/all.tests
index 507a6465..0e3eb377 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -704,6 +704,7 @@ spec['glsl-1.10']['execution'] = Group()
add_shader_test_dir(spec['glsl-1.10']['execution'],
os.path.join(testsDir, 'spec', 'glsl-1.10', 'execution'),
recursive=True)
+add_concurrent_test(spec['glsl-1.10']['execution'], 'glsl-render-after-bad-attach')
for mode in ['fixed', 'pos_clipvert', 'clipvert_pos']:
cmdline = 'clip-plane-transformation ' + mode
spec['glsl-1.10']['execution']['clipping'][cmdline] = concurrent_test(cmdline)
diff --git a/tests/spec/glsl-1.10/execution/CMakeLists.gl.txt b/tests/spec/glsl-1.10/execution/CMakeLists.gl.txt
new file mode 100644
index 00000000..311fe01a
--- /dev/null
+++ b/tests/spec/glsl-1.10/execution/CMakeLists.gl.txt
@@ -0,0 +1,14 @@
+
+include_directories(
+ ${GLEXT_INCLUDE_DIR}
+ ${OPENGL_INCLUDE_PATH}
+ ${piglit_SOURCE_DIR}/tests/mesa/util
+)
+
+link_libraries (
+ piglitutil_${piglit_target_api}
+ ${OPENGL_gl_LIBRARY}
+ ${OPENGL_glu_LIBRARY}
+)
+
+piglit_add_executable (glsl-render-after-bad-attach glsl-render-after-bad-attach.c)