Heh I just realized that Francisco sent exactly same patch some time ago with arb_shader_image_load_store tests, I'll push that one in.

On 12/29/2014 08:16 AM, Chris Forbes wrote:
Reviewed-by: Chris Forbes <[email protected]>

On Mon, Dec 29, 2014 at 7:07 PM, Tapani Pälli <[email protected]> wrote:
Currently compute shaders that fail to compile trigger assert
during piglit_compile_shader_text.

Signed-off-by: Tapani Pälli <[email protected]>
---
  tests/util/piglit-shader.c | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/tests/util/piglit-shader.c b/tests/util/piglit-shader.c
index 0980fa9..e8fe9c4 100644
--- a/tests/util/piglit-shader.c
+++ b/tests/util/piglit-shader.c
@@ -109,6 +109,8 @@ shader_name(GLenum target)
        return "geometry";
     case GL_FRAGMENT_SHADER:
        return "fragment";
+   case GL_COMPUTE_SHADER:
+      return "compute";
     default:
        assert(!"Unexpected shader target in shader_name()");
     }
--
1.9.3

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to