diff options
author | Christoph Bumiller <[email protected]> | 2012-04-06 18:37:24 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-04-14 21:54:00 +0200 |
commit | f113b6f959d746bed5360c6ddb01f232c5d9c48e (patch) | |
tree | 56eececaa8657ed1455861ed3beb48853c284a76 | |
parent | 55f9bdb64e1f88c74754c8e090cd2cdbe62bba05 (diff) |
nv50/ir: copy value size in SSA-rename pass
-rw-r--r-- | src/gallium/drivers/nv50/codegen/nv50_ir_ssa.cpp | 1 |
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()); } |