From 0fe14178dbd5b350082a06c7488b6077362a85e3 Mon Sep 17 00:00:00 2001 From: Vadim Girlin <vadimgirlin@gmail.com> Date: Tue, 15 Nov 2011 19:57:22 +0400 Subject: r600g: handle PIPE_SHADER_CAP_OUTPUT_READ Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> --- src/gallium/drivers/r600/r600_pipe.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers') 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; } -- cgit v1.2.3