summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-04-22 23:05:34 +0200
committerMarek Olšák <[email protected]>2015-07-23 00:59:26 +0200
commit3d528e7c476f25f24bca35d09d1f4c2b00123234 (patch)
treedec087b82fa76ad034b6225b36b27e806c01b6b8 /src/mesa/main
parent882413f1c5926503550a42554a83f57f85fec82d (diff)
mesa: handle tessellation shaders in use_shader_program
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/shaderapi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 77b1430cee1..40b4d417c22 100644
--- a/src/mesa/main/shaderapi.c
+++ b/src/mesa/main/shaderapi.c
@@ -1139,11 +1139,9 @@ use_shader_program(struct gl_context *ctx, gl_shader_stage stage,
*/
switch (stage) {
case MESA_SHADER_VERTEX:
- /* Empty for now. */
- break;
+ case MESA_SHADER_TESS_CTRL:
+ case MESA_SHADER_TESS_EVAL:
case MESA_SHADER_GEOMETRY:
- /* Empty for now. */
- break;
case MESA_SHADER_COMPUTE:
/* Empty for now. */
break;