mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 02:47:02 +02:00
Share sampler descriptor snapshots across native variants
This commit is contained in:
@@ -34690,7 +34690,11 @@ void CheckImageSamplerSpecialization() {
|
||||
mixed_sampler_program.info.sampled_pairs[2].sampler == 2u &&
|
||||
mixed_sampler_program.info.sampled_pairs[3].sampler == 1u &&
|
||||
mixed_sampler_program.memory_info[0].sampler == 2u &&
|
||||
mixed_sampler_snapshot.samplers.size() == 3u,
|
||||
mixed_sampler_snapshot.samplers.size() == 1u &&
|
||||
std::ranges::all_of(mixed_sampler_program.info.samplers,
|
||||
[](const auto& sampler) {
|
||||
return sampler.source == 4u && sampler.snapshot_index == 0u;
|
||||
}),
|
||||
"a shared float/unsigned/signed sampler lost its border or filtering "
|
||||
"class in the compiled bindings, instruction or descriptor snapshot");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user