summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-11-12 03:03:04 +0100
committerMarek Olšák <[email protected]>2010-11-12 03:13:22 +0100
commit53b7ec91caa99c1ddd51262b4c311d93995726ba (patch)
tree98598f7214f3d1773d3880a8cceaa48af5915600
parentcbfdf262ccf8b573f1fa4c0065a8eb1fb87d93da (diff)
tgsi: fill out CAPs for indirect addressing
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h
index bd5492e9497..7b077786013 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h
@@ -383,6 +383,11 @@ tgsi_exec_get_shader_param(enum pipe_shader_cap param)
return TGSI_EXEC_NUM_PREDS;
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;
}