<p dir="ltr">Sounds right, I think it's only required in frag shader.</p>
<p dir="ltr">Acked-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>></p>
<div class="gmail_quote">On Feb 14, 2016 11:28 PM, "Dave Airlie" <<a href="mailto:airlied@gmail.com">airlied@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Dave Airlie <<a href="mailto:airlied@redhat.com">airlied@redhat.com</a>><br>
<br>
This tests uses vertex ssbo's which fglrx on evergreen doesn't do,<br>
so refuse to run in this case.<br>
<br>
Signed-off-by: Dave Airlie <<a href="mailto:airlied@redhat.com">airlied@redhat.com</a>><br>
---<br>
 tests/spec/arb_shader_storage_buffer_object/rendering.c | 6 ++++++<br>
 1 file changed, 6 insertions(+)<br>
<br>
diff --git a/tests/spec/arb_shader_storage_buffer_object/rendering.c b/tests/spec/arb_shader_storage_buffer_object/rendering.c<br>
index 52d5882..cfb7fb7 100644<br>
--- a/tests/spec/arb_shader_storage_buffer_object/rendering.c<br>
+++ b/tests/spec/arb_shader_storage_buffer_object/rendering.c<br>
@@ -161,6 +161,7 @@ setup_ubos(void)<br>
 void<br>
 piglit_init(int argc, char **argv)<br>
 {<br>
+       GLint num_vs_blocks;<br>
        piglit_require_extension("GL_ARB_shader_storage_buffer_object");<br>
        piglit_require_extension("GL_ARB_program_interface_query");<br>
<br>
@@ -168,6 +169,11 @@ piglit_init(int argc, char **argv)<br>
                test_buffer_offset = true;<br>
        }<br>
<br>
+       glGetIntegerv(GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS, &num_vs_blocks);<br>
+       if (num_vs_blocks == 0) {<br>
+               printf("Test requires SSBO vertex shader support.\n");<br>
+               piglit_report_result(PIGLIT_SKIP);<br>
+       }<br>
        prog = piglit_build_simple_program(vert_shader_text, frag_shader_text);<br>
        assert(prog);<br>
        glUseProgram(prog);<br>
--<br>
2.1.0<br>
<br>
_______________________________________________<br>
Piglit mailing list<br>
<a href="mailto:Piglit@lists.freedesktop.org">Piglit@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/piglit" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/piglit</a><br>
</blockquote></div>