summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2011-11-15 19:57:22 +0400
committerAlex Deucher <[email protected]>2011-11-21 17:38:38 -0500
commit0fe14178dbd5b350082a06c7488b6077362a85e3 (patch)
tree5da5983beeaffa3bb9f1c003ebae1c5cbeb742e2 /src/gallium/drivers/r600
parent915bcc29d415a506d30ad743cde7c98fcb512ba0 (diff)
r600g: handle PIPE_SHADER_CAP_OUTPUT_READ
Signed-off-by: Vadim Girlin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c2
1 files changed, 2 insertions, 0 deletions
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;
}