diff options
-rw-r--r-- | src/gallium/drivers/nv50/codegen/nv50_ir.cpp | 2 |
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()); |