nir: Don't set dest in SSBO store glsl_to_nir conversion
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 25 Sep 2015 21:49:37 +0000 (14:49 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 30 Sep 2015 00:17:20 +0000 (17:17 -0700)
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>
src/glsl/nir/glsl_to_nir.cpp

index c0b26340f0d32e54ef7d4b26e51846a0748dab30..f8745828a77c82d2c224591672a22427a0a998c8 100644 (file)
@@ -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];
          }