From 4810d02112b7d056d5355ec9fd8953a4e763fd26 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Fri, 25 Sep 2015 14:49:37 -0700 Subject: nir: Don't set dest in SSBO store glsl_to_nir conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/glsl/nir/glsl_to_nir.cpp | 1 - 1 file changed, 1 deletion(-) 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]; } -- cgit v1.2.3