mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 19:07:01 +02:00
shader: remove redundant descriptor sorting and stale null check
This commit is contained in:
@@ -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