aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2012-04-30 15:13:07 +0200
committerChristoph Bumiller <[email protected]>2013-03-12 12:55:33 +0100
commitfe17d8a7c01c65e059a1edd13938f73ad2d9f025 (patch)
treed6abfc2fe589749237a85ee527247b1f2dd14fde /src/gallium
parent49ded0e13216c686703e82de6e731561ba689145 (diff)
nv50/ir/ra: Fix RegisterSet::occupy(const Value *v).
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp2
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