[Piglit] [PATCH 6/9] arb_program_interface_query/resource-query: tess tests need subroutines

Marek Olšák maraeo at gmail.com
Tue Jun 16 13:57:39 PDT 2015


From: Marek Olšák <marek.olsak at amd.com>

---
 tests/spec/arb_program_interface_query/resource-query.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/spec/arb_program_interface_query/resource-query.c b/tests/spec/arb_program_interface_query/resource-query.c
index 1db5585..c131891 100755
--- a/tests/spec/arb_program_interface_query/resource-query.c
+++ b/tests/spec/arb_program_interface_query/resource-query.c
@@ -646,7 +646,8 @@ check_extensions(const struct subtest_t st)
 	     st.programInterface == GL_TESS_CONTROL_SUBROUTINE_UNIFORM ||
 	     st.programInterface == GL_TESS_EVALUATION_SUBROUTINE_UNIFORM ||
 	     st.tcs_text || st.tes_text) &&
-	     !piglit_is_extension_supported("GL_ARB_tessellation_shader")) {
+	    (!piglit_is_extension_supported("GL_ARB_shader_subroutine") ||
+	     !piglit_is_extension_supported("GL_ARB_tessellation_shader"))) {
 		 return false;
 	 }
 
-- 
2.1.0



More information about the Piglit mailing list