[v2,01/17] shader_runner/spirv: log skip reason on ARB_gl_spirv extension check

Submitted by apinheiro on Sept. 27, 2018, 9:54 a.m.

Details

Message ID 20180927095507.12642-2-apinheiro@igalia.com
State New
Headers show
Series "arb_gl_spirv: add array test with copy between arrays" ( rev: 1 ) in Piglit

Not browsing as part of any series.

Commit Message

apinheiro Sept. 27, 2018, 9:54 a.m.
---
 tests/shaders/shader_runner.c | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index 6df8bd860..e5566ee7d 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;
 	}