diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_sampler_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_sampler_cache.cpp b/src/video_core/renderer_vulkan/vk_sampler_cache.cpp index f099d78ab..ed3178f09 100644 --- a/src/video_core/renderer_vulkan/vk_sampler_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_sampler_cache.cpp | |||
| @@ -35,7 +35,7 @@ std::size_t SamplerCacheKey::Hash() const { | |||
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | bool SamplerCacheKey::operator==(const SamplerCacheKey& rhs) const { | 37 | bool SamplerCacheKey::operator==(const SamplerCacheKey& rhs) const { |
| 38 | return std::memcmp(raw.data(), rhs.raw.data(), sizeof(raw)) == 0; | 38 | return raw == rhs.raw; |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | VKSamplerCache::VKSamplerCache(const VKDevice& device) : device{device} {} | 41 | VKSamplerCache::VKSamplerCache(const VKDevice& device) : device{device} {} |