shader: prove descending image ranges and prune impossible register selectors

Co-authored-by: Ali Almohaya <AliAlmohaya@gmail.com>
This commit is contained in:
nmzik
2026-10-12 18:39:37 +02:00
parent 7688093ca3
commit 49ebbfd627
4 changed files with 243 additions and 31 deletions
@@ -518,6 +518,7 @@ struct DescriptorSource {
bool indexed_store = false;
uint32_t workgroup_axis = UINT32_MAX;
Value key_count;
// First selector index, or first descriptor key when no selector is present.
Value selector_first;
Value selector_mask;
std::vector<uint32_t> sources;