summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-09-25 14:49:37 -0700
committerJordan Justen <[email protected]>2015-09-29 17:17:20 -0700
commit4810d02112b7d056d5355ec9fd8953a4e763fd26 (patch)
tree5a21a00ef2e1575fb71f7ebf85721d77951cf473 /src/glsl
parent476e6d732f76f1ac1c4560ccade7cbc93f985d09 (diff)
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 <[email protected]> Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/nir/glsl_to_nir.cpp1
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];
}