diff options
author | Christoph Bumiller <[email protected]> | 2012-12-08 19:46:14 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-12-08 22:47:00 +0100 |
commit | 1f079f9e5879ed9e5f2a951bca305a43e5dc9d1d (patch) | |
tree | 104ce0a7b6980b40119d7fa2257565486f12f53d | |
parent | 7c6584b9968ff1af0798d0a783142052b43c1dc0 (diff) |
nvc0/ir: allow neg,abs modifiers on OP_SET with integer result
-rw-r--r-- | src/gallium/drivers/nvc0/codegen/nv50_ir_target_nvc0.cpp | 4 |
1 files changed, 4 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 e3db4b2318d..cdc7c0aba57 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,10 @@ TargetNVC0::isModSupported(const Instruction *insn, int s, Modifier mod) const case OP_OR: case OP_XOR: break; + case OP_SET: + if (insn->sType != TYPE_F32) + return false; + break; case OP_ADD: if (mod.abs()) return false; |