projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
882413f
)
mesa: handle tessellation shaders in use_shader_program
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 22 Apr 2015 21:05:34 +0000
(23:05 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 22 Jul 2015 22:59:26 +0000
(
00:59
+0200)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/shaderapi.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/shaderapi.c
b/src/mesa/main/shaderapi.c
index 77b1430cee1ea4d26d8c1c1fc820f852f9634dd9..40b4d417c22a6996a1079e41e8851b98eb92e6d2 100644
(file)
--- 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;