From f113b6f959d746bed5360c6ddb01f232c5d9c48e Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Fri, 6 Apr 2012 18:37:24 +0200 Subject: [PATCH] nv50/ir: copy value size in SSA-rename pass --- src/gallium/drivers/nv50/codegen/nv50_ir_ssa.cpp | 1 + 1 file changed, 1 insertion(+) 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()); } -- 2.30.2