[Mesa-dev] [PATCH] nir/clone: Copy bit size when cloning registers
Eduardo Lima Mitev
elima at igalia.com
Tue Apr 12 08:24:17 UTC 2016
Reviewed-by: Eduardo Lima Mitev <elima at igalia.com>
On 04/12/2016 01:57 AM, Jason Ekstrand wrote:
> Reported-by: Mark Janes <mark.a.janes at intel.com>
> Cc: Eduardo Lima Mitev <elima at igalia.com>
> ---
> src/compiler/nir/nir_clone.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/compiler/nir/nir_clone.c b/src/compiler/nir/nir_clone.c
> index e889f19..e231387 100644
> --- a/src/compiler/nir/nir_clone.c
> +++ b/src/compiler/nir/nir_clone.c
> @@ -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);
>
More information about the mesa-dev
mailing list