shader: specialize guarded packed material selectors

This commit is contained in:
nmzik
2026-10-13 06:07:49 +02:00
parent 907c65f54c
commit d08a6cef64
4 changed files with 165 additions and 47 deletions
@@ -514,6 +514,9 @@ struct DescriptorSource {
uint32_t stride = 0;
uint32_t offset = 0;
uint32_t maximum = UINT32_MAX;
uint32_t bit_offset = 0;
uint32_t bit_mask = UINT32_MAX;
bool global = false;
// Four DWORD bitmap words per record; set-bit ranks subtract from the last key.
bool bitset = false;
std::optional<CountedRows> rows;