[Piglit] [PATCH 01/17] shader_runner/spirv: log skip reason on ARB_gl_spirv extension check

Alejandro PiƱeiro apinheiro at igalia.com
Sat Sep 15 16:22:38 UTC 2018


---
 tests/shaders/shader_runner.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index cc377cb5e..1795d66ce 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -814,6 +814,8 @@ static enum piglit_result
 assemble_spirv(GLenum target)
 {
 	if (!piglit_is_extension_supported("GL_ARB_gl_spirv")) {
+		printf("GL_ARB_gl_spirv not supported, but required "
+			"to run SPIR-V shaders\n");
 		return PIGLIT_SKIP;
 	}
 
-- 
2.14.1



More information about the Piglit mailing list