diff options
| author | Liam <byteslice@airmail.cc> | 2022-11-22 19:14:46 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2022-11-27 14:58:28 -0500 |
| commit | 2956a33463df8fe97819df2b08d31834eaeed442 (patch) | |
| tree | eed76f1f0a30830f673cab6aae36beb8127a0288 /src/video_core/renderer_vulkan | |
| parent | 168c9ee3415bf6400ef0b0cc0eb2dfa73fac2464 (diff) | |
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.cpp | 4 |
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; using VideoCommon::GenericEnvironment; using VideoCommon::GraphicsEnvironment; -constexpr u32 CACHE_VERSION = 7; +constexpr u32 CACHE_VERSION = 8; template <typename Container> auto MakeSpan(Container& container) { @@ -277,7 +277,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device const auto& float_control{device.FloatControlProperties()}; const VkDriverIdKHR driver_id{device.GetDriverID()}; profile = Shader::Profile{ - .supported_spirv = device.IsKhrSpirv1_4Supported() ? 0x00010400U : 0x00010000U, + .supported_spirv = device.SupportedSpirvVersion(), .unified_descriptor_binding = true, .support_descriptor_aliasing = true, .support_int8 = device.IsInt8Supported(), |
