mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
nir: fix lower_non_uniform_access pass
Obviously missing the instruction insertion into the SSA list.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 3bd5457641 ("nir: Add a lowering pass for non-uniform resource access")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
b2200514af
commit
391a836e8f
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ read_first_invocation(nir_builder *b, nir_ssa_def *x)
|
|||
first->src[0] = nir_src_for_ssa(x);
|
||||
nir_ssa_dest_init(&first->instr, &first->dest,
|
||||
x->num_components, x->bit_size, NULL);
|
||||
nir_builder_instr_insert(b, &first->instr);
|
||||
return &first->dest.ssa;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue