[Mesa-dev] [PATCH 18/46] mesa: handle tessellation shaders in use_shader_program
Marek Olšák
maraeo at gmail.com
Tue Jun 16 16:01:14 PDT 2015
From: Marek Olšák <marek.olsak at amd.com>
---
src/mesa/main/shaderapi.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 1cc3e37..3428680 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;
--
2.1.0
More information about the mesa-dev
mailing list