From e9c21d0ca01eaada2d61bd73e97f59cd2835a0b0 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Mon, 22 Jun 2015 11:59:55 -0700 Subject: [PATCH] unbreak things --- src/glsl/nir/spirv_to_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2