summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/ObjectCache.cpp
diff options
context:
space:
mode:
authorTellowKrinkle <tellowkrinkle@gmail.com>2024-09-03 23:24:05 -0500
committerTellowKrinkle <tellowkrinkle@gmail.com>2024-09-05 22:15:29 -0500
commit1416dc7e6aee2fdf861eb83037c7c3bbc924adce (patch)
tree95c7dfb9346b48ea30864182a91fea7e1ba4b3bc /Source/Core/VideoBackends/Vulkan/ObjectCache.cpp
parentefc395f7f424f71f4f6ccd055a1dd5817ad8fbc8 (diff)
VideoBackends:Vulkan: Consolidate feature checking into one struct
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/ObjectCache.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/ObjectCache.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/ObjectCache.cpp b/Source/Core/VideoBackends/Vulkan/ObjectCache.cpp
index c32365f3fc..e32675fe57 100644
--- a/Source/Core/VideoBackends/Vulkan/ObjectCache.cpp
+++ b/Source/Core/VideoBackends/Vulkan/ObjectCache.cpp
@@ -627,24 +627,24 @@ bool ObjectCache::ValidatePipelineCache(const u8* data, size_t data_length)
return false;
}
- if (header.vendor_id != g_vulkan_context->GetDeviceProperties().vendorID)
+ if (header.vendor_id != g_vulkan_context->GetDeviceInfo().vendorID)
{
ERROR_LOG_FMT(
VIDEO, "Pipeline cache failed validation: Incorrect vendor ID (file: {:#X}, device: {:#X})",
- header.vendor_id, g_vulkan_context->GetDeviceProperties().vendorID);
+ header.vendor_id, g_vulkan_context->GetDeviceInfo().vendorID);
return false;
}
- if (header.device_id != g_vulkan_context->GetDeviceProperties().deviceID)
+ if (header.device_id != g_vulkan_context->GetDeviceInfo().deviceID)
{
ERROR_LOG_FMT(
VIDEO, "Pipeline cache failed validation: Incorrect device ID (file: {:#X}, device: {:#X})",
- header.device_id, g_vulkan_context->GetDeviceProperties().deviceID);
+ header.device_id, g_vulkan_context->GetDeviceInfo().deviceID);
return false;
}
- if (std::memcmp(header.uuid, g_vulkan_context->GetDeviceProperties().pipelineCacheUUID,
- VK_UUID_SIZE) != 0)
+ if (std::memcmp(header.uuid, g_vulkan_context->GetDeviceInfo().pipelineCacheUUID, VK_UUID_SIZE) !=
+ 0)
{
ERROR_LOG_FMT(VIDEO, "Pipeline cache failed validation: Incorrect UUID");
return false;