From: Christoph Bumiller Date: Fri, 6 Apr 2012 16:37:24 +0000 (+0200) Subject: nv50/ir: copy value size in SSA-rename pass X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f113b6f959d746bed5360c6ddb01f232c5d9c48e;p=mesa.git nv50/ir: copy value size in SSA-rename pass --- 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()); }