diff options
author | Glenn Kennard <[email protected]> | 2015-09-21 16:21:37 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-10-13 08:53:35 +1000 |
commit | 80c5062abfdef28e23615f44b214760449f6a582 (patch) | |
tree | 679b22ca3320400fb4ad8737f5ed94bb98ae8d7e /src/gallium/drivers/r600/sb/sb_bc_finalize.cpp | |
parent | bd198b9f0a292a9ff4ffffec3a29bad23d62caba (diff) |
r600g/sb: Support gs5 sampler indexing (v2)
[airlied: v2 cayman fixups]
Signed-off-by: Glenn Kennard <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/sb/sb_bc_finalize.cpp')
-rw-r--r-- | src/gallium/drivers/r600/sb/sb_bc_finalize.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp b/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp index 522ff9d956e..193ade8a661 100644 --- a/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp +++ b/src/gallium/drivers/r600/sb/sb_bc_finalize.cpp @@ -303,7 +303,8 @@ void bc_finalizer::finalize_alu_group(alu_group_node* g, node *prev_node) { assert(fdst.chan() == slot || slot == SLOT_TRANS); } - n->bc.dst_gpr = fdst.sel(); + if (!(n->bc.op_ptr->flags & AF_MOVA && ctx.is_cayman())) + n->bc.dst_gpr = fdst.sel(); n->bc.dst_chan = d ? fdst.chan() : slot < SLOT_TRANS ? slot : 0; |