From: Marek Olšák Date: Wed, 22 Apr 2015 21:05:34 +0000 (+0200) Subject: mesa: handle tessellation shaders in use_shader_program X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d528e7c476f25f24bca35d09d1f4c2b00123234;p=mesa.git mesa: handle tessellation shaders in use_shader_program Reviewed-by: Kenneth Graunke --- 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;