summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-11-12 03:07:05 +0100
committerMarek Olšák <[email protected]>2010-11-12 03:13:23 +0100
commit5c7127c07c3933662bc5447ce4a83b4e8af3b473 (patch)
treed7c4799d6873060896d82c0bd234c77cc6c4e8f7 /src
parentd279902b40c1d5ea594d902a87485a25d8f31472 (diff)
r600g: fill out CAPs for indirect addressing
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 8bc545d4175..2a113f0ea8d 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -370,6 +370,11 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e
return 0; /* FIXME */
case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED:
return 1;
+ case PIPE_SHADER_CAP_INDIRECT_INPUT_ADDR:
+ case PIPE_SHADER_CAP_INDIRECT_OUTPUT_ADDR:
+ case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR:
+ case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR:
+ return 1;
default:
return 0;
}