diff options
author | Christoph Bumiller <[email protected]> | 2012-04-28 14:45:05 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-04-29 17:54:34 +0200 |
commit | 3a9f036e008c5a905d1340f9247a1d7f50fd23dd (patch) | |
tree | 01dd718b509c9d7e550e450a4226978f427753e4 /src/gallium/drivers | |
parent | 18bcb962bbad451a5e34f0315f03b8fb4533ea73 (diff) |
nvc0/ir/target: integer ADD doesn't support ABS modifier
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/nvc0/codegen/nv50_ir_target_nvc0.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/codegen/nv50_ir_target_nvc0.cpp b/src/gallium/drivers/nvc0/codegen/nv50_ir_target_nvc0.cpp index 2aa20053c14..93af23faac0 100644 --- a/src/gallium/drivers/nvc0/codegen/nv50_ir_target_nvc0.cpp +++ b/src/gallium/drivers/nvc0/codegen/nv50_ir_target_nvc0.cpp @@ -481,6 +481,8 @@ TargetNVC0::isModSupported(const Instruction *insn, int s, Modifier mod) const case OP_XOR: break; case OP_ADD: + if (mod.abs()) + return false; if (insn->src(s ? 0 : 1).mod.neg()) return false; break; |