From: Jason Ekstrand Date: Wed, 6 May 2015 19:36:31 +0000 (-0700) Subject: nir/spirv: Set a name on temporary variables X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a63761e1d7970f34be19b02b98a0be1a6f1af2c;p=mesa.git nir/spirv: Set a name on temporary variables --- diff --git a/src/glsl/nir/spirv_to_nir.c b/src/glsl/nir/spirv_to_nir.c index 3d2a26c90b0..b5130f339c4 100644 --- a/src/glsl/nir/spirv_to_nir.c +++ b/src/glsl/nir/spirv_to_nir.c @@ -595,6 +595,7 @@ vtn_handle_variables(struct vtn_builder *b, SpvOp opcode, nir_variable *const_tmp = rzalloc(b->shader, nir_variable); const_tmp->type = dest_type; + const_tmp->name = "const_temp"; const_tmp->data.mode = nir_var_local; const_tmp->data.read_only = true; exec_list_push_tail(&b->impl->locals, &const_tmp->node);