projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e70a58
)
nir/clone: Copy bit size when cloning registers
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 11 Apr 2016 21:46:14 +0000
(14:46 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 12 Apr 2016 23:41:58 +0000
(16:41 -0700)
Reported-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/compiler/nir/nir_clone.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_clone.c
b/src/compiler/nir/nir_clone.c
index
e889f19
..
e231387
100644
(file)
--- a/
src/compiler/nir/nir_clone.c
+++ b/
src/compiler/nir/nir_clone.c
@@
-179,6
+179,7
@@
clone_register(clone_state *state, const nir_register *reg)
add_remap(state, nreg, reg);
nreg->num_components = reg->num_components;
+ nreg->bit_size = reg->bit_size;
nreg->num_array_elems = reg->num_array_elems;
nreg->index = reg->index;
nreg->name = ralloc_strdup(nreg, reg->name);