From 63ca1abcc48726aa69f0319060463933b3bda77c Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Fri, 14 Oct 2011 19:49:22 +0200 Subject: nv50/ir: fix memory value equality check --- src/gallium/drivers/nv50/codegen/nv50_ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/nv50/codegen/nv50_ir.cpp') diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir.cpp index 3cd5038e499..23fb3bf8478 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir.cpp +++ b/src/gallium/drivers/nv50/codegen/nv50_ir.cpp @@ -508,7 +508,7 @@ ImmediateValue::equals(const Value *that, bool strict) const bool Symbol::equals(const Value *that, bool strict) const { - if (this->reg.file != that->reg.file) + if (reg.file != that->reg.file || reg.fileIndex != that->reg.fileIndex) return false; assert(that->asSym()); -- cgit v1.2.3