From: Vadim Girlin Date: Tue, 15 Nov 2011 15:57:22 +0000 (+0400) Subject: r600g: handle PIPE_SHADER_CAP_OUTPUT_READ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0fe14178dbd5b350082a06c7488b6077362a85e3;p=mesa.git r600g: handle PIPE_SHADER_CAP_OUTPUT_READ Signed-off-by: Vadim Girlin --- diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 243de140789..3c190347d45 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -513,6 +513,8 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e return 0; case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: return 16; + case PIPE_SHADER_CAP_OUTPUT_READ: + return 1; default: return 0; }