[Piglit] [PATCH] arb_viewport_array: add GL_ARB_gpu_shader5 requirement for render_viewport_2

sroland at vmware.com sroland at vmware.com
Wed Jan 13 16:21:03 PST 2016


From: Roland Scheidegger <sroland at vmware.com>

The test cannot work without this (and thus always failed if not present).
---
 tests/spec/arb_viewport_array/render_viewport_2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/spec/arb_viewport_array/render_viewport_2.c b/tests/spec/arb_viewport_array/render_viewport_2.c
index 963709b..7e8360f 100644
--- a/tests/spec/arb_viewport_array/render_viewport_2.c
+++ b/tests/spec/arb_viewport_array/render_viewport_2.c
@@ -152,6 +152,7 @@ piglit_init(int argc, char **argv)
 	GLuint program;
 	GLuint vao;
 	piglit_require_extension("GL_ARB_viewport_array");
+	piglit_require_extension("GL_ARB_gpu_shader5");
 
 	program = piglit_build_simple_program_multiple_shaders(
 					GL_VERTEX_SHADER, vsSource,
-- 
2.1.4



More information about the Piglit mailing list