From fe17d8a7c01c65e059a1edd13938f73ad2d9f025 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Mon, 30 Apr 2012 15:13:07 +0200 Subject: [PATCH] nv50/ir/ra: Fix RegisterSet::occupy(const Value *v). --- src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2