diff options
author | Samuel Pitoiset <[email protected]> | 2016-09-18 14:42:20 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-09-18 16:42:33 +0200 |
commit | d8b4f5fcca2ce299b8ef248b6f57896c7b85d18c (patch) | |
tree | cc525b7207a527e6f9afe8ea0c9efdb42bfd8e2f /src | |
parent | 15804c4b9093179f6dd6be2b3a45e18b1318d5a3 (diff) |
gk110/ir: fix wrong emission of OP_NOT
This should emit src0 instead of src1.
Found by inspection.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp index 8d36799bad4..61c450bc696 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp @@ -773,7 +773,7 @@ CodeEmitterGK110::emitNOT(const Instruction *i) break; case FILE_MEMORY_CONST: code[1] |= 0x4 << 28; - setCAddress14(i->src(1)); + setCAddress14(i->src(0)); break; default: assert(0); |