[Mesa-dev] [PATCH 05/29] nir/clone: clone bit_size in clone_load_const
Samuel Iglesias Gonsálvez
siglesias at igalia.com
Mon Mar 21 12:05:44 UTC 2016
From: Iago Toral Quiroga <itoral at igalia.com>
---
src/compiler/nir/nir_clone.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compiler/nir/nir_clone.c b/src/compiler/nir/nir_clone.c
index 7444dfe..b1da332 100644
--- a/src/compiler/nir/nir_clone.c
+++ b/src/compiler/nir/nir_clone.c
@@ -354,6 +354,7 @@ clone_load_const(clone_state *state, const nir_load_const_instr *lc)
memcpy(&nlc->value, &lc->value, sizeof(nlc->value));
+ nlc->def.bit_size = lc->def.bit_size;
add_remap(state, &nlc->def, &lc->def);
return nlc;
--
2.5.0
More information about the mesa-dev
mailing list