mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-07 12:48:03 +00:00
gl_shader_disk_cache: Store and load fast BRX
This commit is contained in:
committed by
FernandoS27
parent
9e0cf6034f
commit
c37c37d4a2
@@ -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