[Piglit] [PATCH] piq: declare an accurate output array size

Ilia Mirkin imirkin at alum.mit.edu
Fri Aug 21 13:04:15 PDT 2015


---
 tests/spec/arb_program_interface_query/common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/spec/arb_program_interface_query/common.h b/tests/spec/arb_program_interface_query/common.h
index 9e57ad1..dd293bd 100755
--- a/tests/spec/arb_program_interface_query/common.h
+++ b/tests/spec/arb_program_interface_query/common.h
@@ -256,7 +256,7 @@ static const char tcs_sub[] =
 	"uniform tcs_uniform_block {\n"
 	"	vec4 tcs_test;\n"
 	"};\n"
-	"out vec4 tcs_output[gl_MaxPatchVertices];\n"
+	"out vec4 tcs_output[3];\n"
 	"in vec4 tcs_input[gl_MaxPatchVertices];\n"
 	"patch out vec4 tcs_patch;\n"
 	"subroutine vec4 tcs_offset();\n"
-- 
2.4.6



More information about the Piglit mailing list