summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-10-14 19:49:22 +0200
committerChristoph Bumiller <[email protected]>2011-10-21 23:00:38 +0200
commit63ca1abcc48726aa69f0319060463933b3bda77c (patch)
treee86959294f3ff8278b11116c6e3304c2bb9e1ada /src/gallium/drivers/nv50
parente3a3844e8de7ff69606e16eab752152f70785de8 (diff)
nv50/ir: fix memory value equality check
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r--src/gallium/drivers/nv50/codegen/nv50_ir.cpp2
1 files changed, 1 insertions, 1 deletions
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());