diff --git a/.pick_status.json b/.pick_status.json index 43bdd0fcc00..adc34d7b949 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -130,7 +130,7 @@ "description": "ir3: Use source in ir3_output_conv_src_type()", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "d3e08327cf85ef0b07c8e4920c168329cf66ec41" }, diff --git a/src/freedreno/ir3/ir3.h b/src/freedreno/ir3/ir3.h index 53590ed8afb..35bd43c1c08 100644 --- a/src/freedreno/ir3/ir3.h +++ b/src/freedreno/ir3/ir3.h @@ -1409,7 +1409,7 @@ ir3_output_conv_src_type(struct ir3_instruction *instr, type_t base_type) return TYPE_F32; default: - return (instr->dsts[1]->flags & IR3_REG_HALF) ? half_type(base_type) + return (instr->srcs[0]->flags & IR3_REG_HALF) ? half_type(base_type) : full_type(base_type); } }