shader: bound scalar-read overlap checks by the bytes fixed-offset buffer writes reach

This commit is contained in:
nmzik
2026-10-21 03:48:25 +02:00
parent 70668fbd98
commit 68d0ba5a81
3 changed files with 20 additions and 7 deletions
@@ -125,6 +125,7 @@ struct BufferResource {
uint32_t descriptor_index = UINT32_MAX;
uint32_t first_use_pc = 0;
uint32_t max_byte_extent = 0;
uint32_t write_extent = 0; // UINT32_MAX once a write is runtime-addressed or formatted
uint32_t packed_stride = 0;
Prospero::BufferFormat descriptor_format = Prospero::BufferFormat::kInvalid;
uint32_t descriptor_swizzle = DstSel(4, 5, 6, 7);