summaryrefslogtreecommitdiff
path: root/src/video_core/shader
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/const_buffer_locker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/const_buffer_locker.cpp b/src/video_core/shader/const_buffer_locker.cpp
index ebeba102d..fda9e3c38 100644
--- a/src/video_core/shader/const_buffer_locker.cpp
+++ b/src/video_core/shader/const_buffer_locker.cpp
@@ -90,14 +90,14 @@ bool ConstBufferLocker::IsConsistent() const {
90 [this](const auto& sampler) { 90 [this](const auto& sampler) {
91 const auto [key, value] = sampler; 91 const auto [key, value] = sampler;
92 const auto other_value = engine->AccessBoundSampler(stage, key); 92 const auto other_value = engine->AccessBoundSampler(stage, key);
93 return value.raw == other_value.raw; 93 return value == other_value;
94 }) && 94 }) &&
95 std::all_of( 95 std::all_of(
96 bindless_samplers.begin(), bindless_samplers.end(), [this](const auto& sampler) { 96 bindless_samplers.begin(), bindless_samplers.end(), [this](const auto& sampler) {
97 const auto [cbuf, offset] = sampler.first; 97 const auto [cbuf, offset] = sampler.first;
98 const auto value = sampler.second; 98 const auto value = sampler.second;
99 const auto other_value = engine->AccessBindlessSampler(stage, cbuf, offset); 99 const auto other_value = engine->AccessBindlessSampler(stage, cbuf, offset);
100 return value.raw == other_value.raw; 100 return value == other_value;
101 }); 101 });
102} 102}
103 103