[Piglit] [PATCH 2/5] shader_runner: allow unsigned uniforms without GL3

Chris Forbes chrisf at ijw.co.nz
Mon Jul 15 03:15:38 PDT 2013


If EXT_gpu_shader4 is supported, we have the GL entrypoints
required.

Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
---
 tests/shaders/shader_runner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index df3316b..28be0ee 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -1110,7 +1110,7 @@ get_uints(const char *line, unsigned *uints, unsigned count)
 void
 check_unsigned_support()
 {
-	if (gl_version.num < 30)
+	if (gl_version.num < 30 && !piglit_is_extension_supported("GL_EXT_gpu_shader4"))
 		piglit_report_result(PIGLIT_SKIP);
 }
 
-- 
1.8.3.2



More information about the Piglit mailing list