summaryrefslogtreecommitdiffstats
path: root/src/glsl/standalone_scaffolding.h
diff options
context:
space:
mode:
authorFabian Bieler <[email protected]>2014-03-20 22:34:42 +0100
committerMarek Olšák <[email protected]>2015-07-23 00:59:27 +0200
commit0cfac917554aeb46bd78ba5b5f5ee1c8ed1d68bc (patch)
tree3c3338e418790ec29ec74f22544625da0e454d71 /src/glsl/standalone_scaffolding.h
parentc53aa26379ccee9d53fe1d1ea9bfa26d4d469618 (diff)
glsl: make stand-alone compiler work with tessellation shaders.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/standalone_scaffolding.h')
-rw-r--r--src/glsl/standalone_scaffolding.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/standalone_scaffolding.h b/src/glsl/standalone_scaffolding.h
index 895dd2782fb..dc6fb640f15 100644
--- a/src/glsl/standalone_scaffolding.h
+++ b/src/glsl/standalone_scaffolding.h
@@ -61,6 +61,10 @@ _mesa_shader_enum_to_shader_stage(GLenum v)
return MESA_SHADER_FRAGMENT;
case GL_GEOMETRY_SHADER:
return MESA_SHADER_GEOMETRY;
+ case GL_TESS_CONTROL_SHADER:
+ return MESA_SHADER_TESS_CTRL;
+ case GL_TESS_EVALUATION_SHADER:
+ return MESA_SHADER_TESS_EVAL;
case GL_COMPUTE_SHADER:
return MESA_SHADER_COMPUTE;
default: