shader: bound bit-scan record keys and drop the key a guard rules out

This commit is contained in:
Claxten
2026-10-26 22:44:42 +01:00
committed by nmzik
parent 20bb268a48
commit f297c0bfe1
5 changed files with 153 additions and 33 deletions
@@ -583,6 +583,7 @@ struct DescriptorSource {
bool bitset = false;
std::optional<CountedRows> rows;
std::vector<std::pair<uint32_t, uint32_t>> byte_ranges;
std::optional<uint32_t> excluded; // A guard keeps this key from the read.
bool operator==(const SelectorRead& other) const = default;
};