[Piglit] [PATCH v3 1/4] CMakeLists.txt: install compute shaders in generated_tests

Dylan Baker baker.dylan.c at gmail.com
Wed Apr 13 00:20:04 UTC 2016


Files ending in '.comp', which is used for compute shader extensions of
GLSLparsertests were not installed. This is obviously problematic.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3b9f5f3..8e2abba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -518,7 +518,7 @@ install (
 install (
 	DIRECTORY ${CMAKE_BINARY_DIR}/generated_tests
 	DESTINATION ${PIGLIT_INSTALL_LIBDIR}
-	FILES_MATCHING REGEX ".*\\.(shader_test|program_test|frag|vert|geom|tesc|tese|cl|txt)$"
+	FILES_MATCHING REGEX ".*\\.(shader_test|program_test|frag|vert|geom|tesc|tese|comp|cl|txt)$"
 	REGEX "CMakeFiles|CMakeLists" EXCLUDE
 )
 
-- 
2.8.0



More information about the Piglit mailing list