diff options
author | Dave Airlie <[email protected]> | 2012-01-22 17:24:29 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-01-22 17:25:38 +0000 |
commit | b9c706c8c51c15af31814904d5fa1afe96b0496a (patch) | |
tree | 45a922c94872e4ff21cf7195bf8afb5ec2dce5fd /src/gallium/drivers | |
parent | 9733a89f6dc8ea3a7a3b9152351203b0e5939d1a (diff) |
r600g: shift integer ops are trans unit only on r600.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/r600/r600_asm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index c0e33fab564..a88870430d7 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm.c @@ -493,6 +493,7 @@ static int is_alu_trans_unit_inst(struct r600_bytecode *bc, struct r600_bytecode switch (bc->chip_class) { case R600: + return alu->is_op3 ? RANGE(0x0C, 0x0C) : RANGE(0x60, 0x79); case R700: return alu->is_op3 ? RANGE(0x0C, 0x0C) : RANGE(0x60, 0x6F) | RANGE(0x73, 0x79); case EVERGREEN: |