Share sampler descriptor snapshots across native variants

This commit is contained in:
nmzik committed 2026-10-03 17:31:15 +04:00
1 parent 8b0cc79acf
commit 7f158c656e
6 files changed
+57 -40

No files matched your search

@@ -148,6 +148,8 @@ struct ImageResource {
struct SamplerResource {
uint32_t source = 0;
uint32_t first_use_pc = 0;
// Native filtering/border variants share the original sampler's runtime descriptor.
uint32_t snapshot_index = 0;
bool force_point_filtering = false;
bool depth_compare = false;
bool integer_border = false;