[Piglit] [PATCH 01/15] util shader: Add support for tessellation shaders.

Fabian Bieler fabianbieler at fastmail.fm
Mon Mar 24 15:02:40 PDT 2014


Signed-off-by: Fabian Bieler <fabianbieler at fastmail.fm>
---
 tests/util/piglit-shader.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/util/piglit-shader.c b/tests/util/piglit-shader.c
index b326abd..5c7a16e 100644
--- a/tests/util/piglit-shader.c
+++ b/tests/util/piglit-shader.c
@@ -119,6 +119,10 @@ shader_name(GLenum target)
    case GL_VERTEX_SHADER:
       return "vertex";
 #if defined PIGLIT_USE_OPENGL
+   case GL_TESS_CONTROL_SHADER:
+      return "tessellation control";
+   case GL_TESS_EVALUATION_SHADER:
+      return "tessellation evaluation";
    case GL_GEOMETRY_SHADER:
       return "geometry";
 #endif
-- 
1.8.3.2



More information about the Piglit mailing list