From: Connor Abbott Date: Mon, 22 Jun 2015 18:59:55 +0000 (-0700) Subject: unbreak things X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9c21d0ca01eaada2d61bd73e97f59cd2835a0b0;p=mesa.git unbreak things --- diff --git a/src/glsl/nir/spirv_to_nir.c b/src/glsl/nir/spirv_to_nir.c index a0a75040771..e0f280ceaae 100644 --- a/src/glsl/nir/spirv_to_nir.c +++ b/src/glsl/nir/spirv_to_nir.c @@ -1277,7 +1277,7 @@ vtn_handle_alu(struct vtn_builder *b, SpvOp opcode, { struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_ssa); val->type = vtn_value(b, w[1], vtn_value_type_type)->type; - val->ssa->type = val->type; + val->ssa = vtn_create_ssa_value(b, val->type); /* Collect the various SSA sources */ unsigned num_inputs = count - 3;