summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/nv50/codegen/nv50_ir_ssa.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_ssa.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_ssa.cpp
index 3f1707f0eb7..60b12b308c1 100644
--- a/src/gallium/drivers/nv50/codegen/nv50_ir_ssa.cpp
+++ b/src/gallium/drivers/nv50/codegen/nv50_ir_ssa.cpp
@@ -446,6 +446,7 @@ void RenamePass::search(BasicBlock *bb)
assert(lval);
stmt->def[d].setSSA(
new_LValue(func, targ->nativeFile(lval->reg.file)));
+ stmt->def[d].get()->reg.size = lval->reg.size;
stmt->def[d].get()->reg.data.id = lval->reg.data.id;
stack[lval->id].push(stmt->def[d].get());
}