Commit 939eb653 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

midgard: Correct order

parent 85c10112
......@@ -465,7 +465,7 @@ emit_alu(compiler_context *ctx, nir_alu_instr *instr)
.uses_ssa = true,
.ssa_args = {
.src0 = components == 2 ? src0 : -1,
.src1 = src1,
.src1 = components == 2 ? src1 : src0,
.dest = dest
},
.vector = is_vector
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment