projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c502e0
)
svga: add switch cases for PIPE_SHADER_CAP_OUTPUT_READ
author
Brian Paul
<brianp@vmware.com>
Sat, 7 Jan 2012 21:16:27 +0000
(14:16 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 7 Jan 2012 21:16:27 +0000
(14:16 -0700)
Silences unhandled switch case warning.
Return 0 since we don't want to read from output regs.
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 0b4da15e226954e78c5e62459c1101d1276bcbf6..82a3ff2bc2ed2482b011f7b49319da94aff60ae0 100644
(file)
--- a/
src/gallium/drivers/svga/svga_screen.c
+++ b/
src/gallium/drivers/svga/svga_screen.c
@@
-259,6
+259,8
@@
static int svga_get_shader_param(struct pipe_screen *screen, unsigned shader, en
return 0;
case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
return 16;
+ case PIPE_SHADER_CAP_OUTPUT_READ:
+ return 0;
}
break;
case PIPE_SHADER_VERTEX:
@@
-302,6
+304,8
@@
static int svga_get_shader_param(struct pipe_screen *screen, unsigned shader, en
return 0;
case PIPE_SHADER_CAP_INTEGERS:
return 0;
+ case PIPE_SHADER_CAP_OUTPUT_READ:
+ return 0;
default:
break;
}