mirror of
https://gitee.com/openharmony/third_party_spirv-tools
synced 2024-11-23 15:30:36 +00:00
parent
9ed0fef6e1
commit
7c213720bb
@ -813,8 +813,10 @@ void FactManager::DataSynonymAndIdEquationFacts::ComputeClosureOfFacts(
|
|||||||
struct DataDescriptorPairEquals {
|
struct DataDescriptorPairEquals {
|
||||||
bool operator()(const DataDescriptorPair& first,
|
bool operator()(const DataDescriptorPair& first,
|
||||||
const DataDescriptorPair& second) const {
|
const DataDescriptorPair& second) const {
|
||||||
return DataDescriptorEquals()(&first.first, &second.first) &&
|
return (DataDescriptorEquals()(&first.first, &second.first) &&
|
||||||
DataDescriptorEquals()(&first.second, &second.second);
|
DataDescriptorEquals()(&first.second, &second.second)) ||
|
||||||
|
(DataDescriptorEquals()(&first.first, &second.second) &&
|
||||||
|
DataDescriptorEquals()(&first.second, &second.first));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user