summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_shader.h
diff options
context:
space:
mode:
authorGlenn Kennard <[email protected]>2014-10-15 17:12:16 +0200
committerMarek Olšák <[email protected]>2014-10-28 23:20:45 +0100
commit7b1c0cbc90d456384b0950ad21faa3c61a6b43ff (patch)
tree13e81fc5dcfcf58f68accc686e907588ec29275f /src/gallium/drivers/r600/r600_shader.h
parent444c8c2f287d6553b7d9c5cdf721dcb7624e01a9 (diff)
r600g: Implement sm5 UBO/sampler indexing
Caveat: Shaders using UBO/sampler indexing will not be optimized by SB, due to SB not currently supporting the necessary CF_INDEX_[01] index registers. Signed-off-by: Glenn Kennard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r--src/gallium/drivers/r600/r600_shader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h
index 20829fd9fdb..ab67013d8c3 100644
--- a/src/gallium/drivers/r600/r600_shader.h
+++ b/src/gallium/drivers/r600/r600_shader.h
@@ -69,6 +69,8 @@ struct r600_shader {
boolean has_txq_cube_array_z_comp;
boolean uses_tex_buffers;
boolean gs_prim_id_input;
+ /* Temporarily workaround SB not handling CF_INDEX_[01] index registers */
+ boolean uses_index_registers;
/* geometry shader properties */
unsigned gs_input_prim;