mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-18 21:17:58 -05:00
gl_shader_disk_cache: Store and load fast BRX
This commit is contained in:
committed by
FernandoS27
parent
fa2c297f3e
commit
ec85648af3
@ -90,14 +90,14 @@ bool ConstBufferLocker::IsConsistent() const {
|
||||
[this](const auto& sampler) {
|
||||
const auto [key, value] = sampler;
|
||||
const auto other_value = engine->AccessBoundSampler(stage, key);
|
||||
return value.raw == other_value.raw;
|
||||
return value == other_value;
|
||||
}) &&
|
||||
std::all_of(
|
||||
bindless_samplers.begin(), bindless_samplers.end(), [this](const auto& sampler) {
|
||||
const auto [cbuf, offset] = sampler.first;
|
||||
const auto value = sampler.second;
|
||||
const auto other_value = engine->AccessBindlessSampler(stage, cbuf, offset);
|
||||
return value.raw == other_value.raw;
|
||||
return value == other_value;
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user