[Piglit] [PATCH v2 01/24] util/shader: Handle compute shaders in shader_name().

Francisco Jerez currojerez at riseup.net
Thu Dec 4 04:21:50 PST 2014


---
 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()");
    }
-- 
2.1.3



More information about the Piglit mailing list