Commit 8f3b516f authored by Jason Ekstrand's avatar Jason Ekstrand

nir/clone: Copy bit size when cloning registers

Reported-by: default avatarMark Janes <mark.a.janes@intel.com>
Reviewed-by: default avatarEduardo Lima Mitev <elima@igalia.com>
parent 8e70a58a
......@@ -179,6 +179,7 @@ clone_register(clone_state *state, const nir_register *reg)
add_remap(state, nreg, reg);
nreg->num_components = reg->num_components;
nreg->bit_size = reg->bit_size;
nreg->num_array_elems = reg->num_array_elems;
nreg->index = reg->index;
nreg->name = ralloc_strdup(nreg, reg->name);
......
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