diff --git a/.pick_status.json b/.pick_status.json index 26da28d777c..9d2ae89346a 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -22,7 +22,7 @@ "description": "nv50/ir: Support vector movs", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "6513c675ad31d192265a8286d712e8ae81c9f305" }, diff --git a/src/nouveau/codegen/nv50_ir_from_nir.cpp b/src/nouveau/codegen/nv50_ir_from_nir.cpp index a40a8e74905..abc9d0e9a82 100644 --- a/src/nouveau/codegen/nv50_ir_from_nir.cpp +++ b/src/nouveau/codegen/nv50_ir_from_nir.cpp @@ -2723,7 +2723,13 @@ Converter::visit(nir_alu_instr *insn) i->sType = sTypes[0]; break; } - case nir_op_mov: + case nir_op_mov: { + LValues &newDefs = convert(&insn->dest); + for (LValues::size_type c = 0u; c < newDefs.size(); ++c) { + mkMov(newDefs[c], getSrc(&insn->src[0], c), dType); + } + break; + } case nir_op_vec2: case nir_op_vec3: case nir_op_vec4: