projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fc7911
)
nir/spirv: Set a name on temporary variables
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 6 May 2015 19:36:31 +0000
(12:36 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 31 Aug 2015 23:58:20 +0000
(16:58 -0700)
src/glsl/nir/spirv_to_nir.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/spirv_to_nir.c
b/src/glsl/nir/spirv_to_nir.c
index 3d2a26c90b04e0c92a1f80526058ca6edeea7c48..b5130f339c46bf4aecc1ea4eedb1d9c285e59a41 100644
(file)
--- 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);