summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2015-06-22 11:59:55 -0700
committerConnor Abbott <[email protected]>2015-06-22 11:59:55 -0700
commite9c21d0ca01eaada2d61bd73e97f59cd2835a0b0 (patch)
treec3e74b786906b6a07d4191898d8bef93e320cab6 /src/glsl
parent841aab6f50c88d54d1a3a68a311621f948d09126 (diff)
unbreak things
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/nir/spirv_to_nir.c2
1 files changed, 1 insertions, 1 deletions
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;