summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-09-18 14:42:20 +0200
committerSamuel Pitoiset <[email protected]>2016-09-18 16:42:33 +0200
commitd8b4f5fcca2ce299b8ef248b6f57896c7b85d18c (patch)
treecc525b7207a527e6f9afe8ea0c9efdb42bfd8e2f /src
parent15804c4b9093179f6dd6be2b3a45e18b1318d5a3 (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.cpp2
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);