diff options
Diffstat (limited to 'src/compiler/nir/nir_lower_non_uniform_access.c')
-rw-r--r-- | src/compiler/nir/nir_lower_non_uniform_access.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_lower_non_uniform_access.c b/src/compiler/nir/nir_lower_non_uniform_access.c index 6aa11f9bebe..b2bdb4dd412 100644 --- a/src/compiler/nir/nir_lower_non_uniform_access.c +++ b/src/compiler/nir/nir_lower_non_uniform_access.c @@ -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; } |