diff options
author | Francisco Jerez <[email protected]> | 2012-04-30 15:13:07 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2013-03-12 12:55:33 +0100 |
commit | fe17d8a7c01c65e059a1edd13938f73ad2d9f025 (patch) | |
tree | d6abfc2fe589749237a85ee527247b1f2dd14fde | |
parent | 49ded0e13216c686703e82de6e731561ba689145 (diff) |
nv50/ir/ra: Fix RegisterSet::occupy(const Value *v).
-rw-r--r-- | src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp index 8c79c9a6260..149e4e1a38e 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp +++ b/src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp @@ -157,7 +157,7 @@ RegisterSet::assign(int32_t& reg, DataFile f, unsigned int size) bool RegisterSet::occupy(const Value *v) { - return occupy(v->reg.file, v->reg.data.id, v->reg.size >> unit[v->reg.file]); + return occupy(v->reg.file, idToUnits(v), v->reg.size >> unit[v->reg.file]); } void |