From: Marek Olšák Date: Tue, 22 Nov 2011 19:46:43 +0000 (+0100) Subject: r300g: handle SHADER_CAP_OUTPUT_READ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=410c12352a6264bbc172939e45f21dc67713dd1b;p=mesa.git r300g: handle SHADER_CAP_OUTPUT_READ --- 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;