projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
684d74e
)
r300g: handle SHADER_CAP_OUTPUT_READ
author
Marek Olšák
<maraeo@gmail.com>
Tue, 22 Nov 2011 19:46:43 +0000
(20:46 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 22 Nov 2011 19:56:51 +0000
(20:56 +0100)
src/gallium/drivers/r300/r300_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_screen.c
b/src/gallium/drivers/r300/r300_screen.c
index 426e4d1ab1729a3a4f735a3fc32d8643836686d8..2c95f3f59069aec87a62176659d20a745c8225fb 100644
(file)
--- a/
src/gallium/drivers/r300/r300_screen.c
+++ b/
src/gallium/drivers/r300/r300_screen.c
@@
-198,6
+198,7
@@
static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, e
case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR:
case PIPE_SHADER_CAP_SUBROUTINES:
case PIPE_SHADER_CAP_INTEGERS:
+ case PIPE_SHADER_CAP_OUTPUT_READ:
return 0;
case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
return r300screen->caps.num_tex_units;
@@
-245,6
+246,7
@@
static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, e
case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR:
case PIPE_SHADER_CAP_SUBROUTINES:
case PIPE_SHADER_CAP_INTEGERS:
+ case PIPE_SHADER_CAP_OUTPUT_READ:
return 0;
}
break;