diff options
author | Marek Olšák <[email protected]> | 2011-11-22 20:46:43 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-11-22 20:56:51 +0100 |
commit | 410c12352a6264bbc172939e45f21dc67713dd1b (patch) | |
tree | 6f8749a2b6a3b87b88f01ba0704c50b37b439530 /src/gallium | |
parent | 684d74e0009c01773e13f476676c0c575f73c615 (diff) |
r300g: handle SHADER_CAP_OUTPUT_READ
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 426e4d1ab17..2c95f3f5906 100644 --- 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; |