From: Jordan Justen Date: Fri, 25 Sep 2015 21:49:37 +0000 (-0700) Subject: nir: Don't set dest in SSBO store glsl_to_nir conversion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4810d02112b7d056d5355ec9fd8953a4e763fd26;p=mesa.git 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 Signed-off-by: Jordan Justen Reviewed-by: Samuel Iglesias Gonsálvez --- diff --git a/src/glsl/nir/glsl_to_nir.cpp b/src/glsl/nir/glsl_to_nir.cpp index c0b26340f0d..f8745828a77 100644 --- a/src/glsl/nir/glsl_to_nir.cpp +++ b/src/glsl/nir/glsl_to_nir.cpp @@ -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]; }