mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
nir: Don't set dest in SSBO store glsl_to_nir conversion
This matches the function signature created in lower_ubo_reference_visitor::ssbo_store which has a void return. Suggested-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
This commit is contained in:
parent
476e6d732f
commit
4810d02112
1 changed files with 0 additions and 1 deletions
|
|
@ -800,7 +800,6 @@ nir_visitor::visit(ir_call *ir)
|
|||
instr = nir_intrinsic_instr_create(shader, op);
|
||||
instr->src[2] = evaluate_rvalue(offset);
|
||||
instr->const_index[0] = 0;
|
||||
dest = &instr->dest;
|
||||
} else {
|
||||
instr->const_index[0] = const_offset->value.u[0];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue