projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7692704
)
svga: add missing _DROUND,DFRACEXP_DLDEXP_SUPPORTED switch cases
author
Brian Paul
<brianp@vmware.com>
Fri, 20 Feb 2015 15:09:36 +0000
(08:09 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 20 Feb 2015 15:09:40 +0000
(08:09 -0700)
To silence unhandled switch case warnings.
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 c2fb93c7d5bf77ea1672ec87a437c3c7429c3ba7..bac0dbcdff96181a6bf04a0cb2f87359e8c36bc1 100644
(file)
--- a/
src/gallium/drivers/svga/svga_screen.c
+++ b/
src/gallium/drivers/svga/svga_screen.c
@@
-429,6
+429,8
@@
static int svga_get_shader_param(struct pipe_screen *screen, unsigned shader, en
case PIPE_SHADER_CAP_PREFERRED_IR:
return PIPE_SHADER_IR_TGSI;
case PIPE_SHADER_CAP_DOUBLES:
+ case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED:
+ case PIPE_SHADER_CAP_TGSI_DFRACEXP_DLDEXP_SUPPORTED:
return 0;
}
/* If we get here, we failed to handle a cap above */