Commit 5e5ea25a authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜
Browse files

pan/mdg: Explicitly type 64-bit uniform moves

Instead of relying on reg_mode.
Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <>
Part-of: <mesa/mesa!5443>
parent c93753e6
......@@ -194,6 +194,8 @@ midgard_promote_uniforms(compiler_context *ctx)
if (needs_move) {
unsigned type_size = nir_alu_type_get_type_size(ins->dest_type);
midgard_instruction mov = v_mov(promoted, ins->dest);
mov.dest_type = nir_type_uint | type_size;
mov.src_types[0] = mov.dest_type;
if (type_size == 64)
mov.alu.reg_mode = midgard_reg_mode_64;
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