projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1de7df
)
svga: silence warnings about unexpected shader type
author
Brian Paul
<brianp@vmware.com>
Wed, 24 Jun 2015 16:41:52 +0000
(10:41 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 24 Jun 2015 16:42:19 +0000
(10:42 -0600)
Trivial.
src/gallium/drivers/svga/svga_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_screen.c
b/src/gallium/drivers/svga/svga_screen.c
index
56e4867
..
770f493
100644
(file)
--- a/
src/gallium/drivers/svga/svga_screen.c
+++ b/
src/gallium/drivers/svga/svga_screen.c
@@
-443,7
+443,9
@@
static int svga_get_shader_param(struct pipe_screen *screen, unsigned shader, en
return 0;
case PIPE_SHADER_GEOMETRY:
case PIPE_SHADER_COMPUTE:
- /* no support for geometry or compute shaders at this time */
+ case PIPE_SHADER_TESS_CTRL:
+ case PIPE_SHADER_TESS_EVAL:
+ /* no support for geometry, tess or compute shaders at this time */
return 0;
default:
debug_printf("Unexpected shader type (%u) query\n", shader);