diff options
-rw-r--r-- | src/glsl/nir/glsl_to_nir.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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]; } |