From: Christoph Bumiller Date: Fri, 14 Oct 2011 17:49:22 +0000 (+0200) Subject: nv50/ir: fix memory value equality check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63ca1abcc48726aa69f0319060463933b3bda77c;p=mesa.git nv50/ir: fix memory value equality check --- 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());