mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 08:13:05 +00:00
shader: remove redundant descriptor sorting and stale null check
This commit is contained in:
1 parent
afbb322b32
commit
5a491abbda
2 files changed
+5
-3
No files matched your search
@@ -402,8 +402,10 @@ bool MaterializeIndirectDescriptor(const ResourcePlan& p
|
||||
mask &= mask - 1u;
|
||||
}
|
||||
} else return false;
|
||||
std::ranges::sort(keys);
|
||||
keys.erase(std::unique(keys.begin(), keys.end()), keys.end());
|
||||
if (selector != nullptr) {
|
||||
std::ranges::sort(keys);
|
||||
keys.erase(std::unique(keys.begin(), keys.end()), keys.end());
|
||||
}
|
||||
}
|
||||
|
||||
const auto mapping_offset = snapshot.flattened_srt.size();
|
||||
|
||||
Reference in new issue
Block a user