summaryrefslogtreecommitdiff
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorGravatar Liam2022-11-22 19:14:46 -0500
committerGravatar Liam2022-11-27 14:58:28 -0500
commit2956a33463df8fe97819df2b08d31834eaeed442 (patch)
treeeed76f1f0a30830f673cab6aae36beb8127a0288 /src/video_core/renderer_vulkan
parentMerge pull request #9299 from lioncash/cast (diff)
downloadyuzu-2956a33463df8fe97819df2b08d31834eaeed442.tar.gz
yuzu-2956a33463df8fe97819df2b08d31834eaeed442.tar.xz
yuzu-2956a33463df8fe97819df2b08d31834eaeed442.zip
Vulkan: update initialization
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
index d4b0a542a..5995aeff0 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -53,7 +53,7 @@ using VideoCommon::FileEnvironment;
53using VideoCommon::GenericEnvironment; 53using VideoCommon::GenericEnvironment;
54using VideoCommon::GraphicsEnvironment; 54using VideoCommon::GraphicsEnvironment;
55 55
56constexpr u32 CACHE_VERSION = 7; 56constexpr u32 CACHE_VERSION = 8;
57 57
58template <typename Container> 58template <typename Container>
59auto MakeSpan(Container& container) { 59auto MakeSpan(Container& container) {
@@ -277,7 +277,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device
277 const auto& float_control{device.FloatControlProperties()}; 277 const auto& float_control{device.FloatControlProperties()};
278 const VkDriverIdKHR driver_id{device.GetDriverID()}; 278 const VkDriverIdKHR driver_id{device.GetDriverID()};
279 profile = Shader::Profile{ 279 profile = Shader::Profile{
280 .supported_spirv = device.IsKhrSpirv1_4Supported() ? 0x00010400U : 0x00010000U, 280 .supported_spirv = device.SupportedSpirvVersion(),
281 .unified_descriptor_binding = true, 281 .unified_descriptor_binding = true,
282 .support_descriptor_aliasing = true, 282 .support_descriptor_aliasing = true,
283 .support_int8 = device.IsInt8Supported(), 283 .support_int8 = device.IsInt8Supported(),