mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 04:10:10 +01:00
nv50/ir: fix comparison of system values
This commit is contained in:
parent
4ddfdcea04
commit
cc30ce8160
1 changed files with 3 additions and 0 deletions
|
|
@ -546,6 +546,9 @@ Symbol::equals(const Value *that, bool strict) const
|
|||
if (this->baseSym != that->asSym()->baseSym)
|
||||
return false;
|
||||
|
||||
if (reg.file == FILE_SYSTEM_VALUE)
|
||||
return (this->reg.data.sv.sv == that->reg.data.sv.sv &&
|
||||
this->reg.data.sv.index == that->reg.data.sv.index);
|
||||
return this->reg.data.offset == that->reg.data.offset;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue