[Piglit] [PATCH 59/63] shader_runner/spirv: log skip reason on ARB_gl_spirv extension check

Alejandro PiƱeiro apinheiro at igalia.com
Sat Feb 23 23:45:47 UTC 2019


---
 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 927926a35..7c6810099 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -850,6 +850,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.19.1



More information about the Piglit mailing list