diff options
author | Dave Airlie <[email protected]> | 2015-11-30 16:03:33 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-12-07 09:59:02 +1000 |
commit | 8ec2cb13e5a950b298935acabcac4346b3e63cd4 (patch) | |
tree | 1184c46e3e541496c529e0f9234c572a804eae9b | |
parent | 18871ac576380fcc0764e5e55f725a1f62a045a0 (diff) |
r600/asm: add LDS ops and barrier to the once per group restriction.
LDS ops must be scheduled in X slot, and barrier should be on its
own in a group.
Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/gallium/drivers/r600/r600_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index ba17909bf7c..931caa0473f 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm.c @@ -237,7 +237,7 @@ int r600_bytecode_add_output(struct r600_bytecode *bc, /* alu instructions that can ony exits once per group */ static int is_alu_once_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) { - return r600_isa_alu(alu->op)->flags & (AF_KILL | AF_PRED); + return r600_isa_alu(alu->op)->flags & (AF_KILL | AF_PRED) || alu->is_lds_idx_op || alu->op == ALU_OP0_GROUP_BARRIER; } static int is_alu_reduction_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) |