summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-11-12 03:03:43 +0100
committerMarek Olšák <[email protected]>2010-11-12 03:13:22 +0100
commit5bf7d668acf638ae4100cc25288fc181a221bab7 (patch)
treeda4c0c9842af9b650362d7b817345a0bcc9bf5eb /src
parent53b7ec91caa99c1ddd51262b4c311d93995726ba (diff)
i915g: fill out CAPs for indirect addressing
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915/i915_screen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index a3e7c5c5772..312847fba9e 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -178,6 +178,11 @@ i915_get_shader_param(struct pipe_screen *screen, unsigned shader, enum pipe_sha
return 0;
case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED:
return 0;
+ 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:
assert(0);
return 0;