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-Tag: upstream/17.1.0~17570 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d528e7c476f25f24bca35d09d1f4c2b00123234;p=platform%2Fupstream%2Fmesa.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 77b1430..40b4d41 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;