diff options
| author | 2022-11-22 19:14:46 -0500 | |
|---|---|---|
| committer | 2022-11-27 14:58:28 -0500 | |
| commit | 2956a33463df8fe97819df2b08d31834eaeed442 (patch) | |
| tree | eed76f1f0a30830f673cab6aae36beb8127a0288 /src/video_core/renderer_vulkan | |
| parent | Merge pull request #9299 from lioncash/cast (diff) | |
| download | yuzu-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.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; | |||
| 53 | using VideoCommon::GenericEnvironment; | 53 | using VideoCommon::GenericEnvironment; |
| 54 | using VideoCommon::GraphicsEnvironment; | 54 | using VideoCommon::GraphicsEnvironment; |
| 55 | 55 | ||
| 56 | constexpr u32 CACHE_VERSION = 7; | 56 | constexpr u32 CACHE_VERSION = 8; |
| 57 | 57 | ||
| 58 | template <typename Container> | 58 | template <typename Container> |
| 59 | auto MakeSpan(Container& container) { | 59 | auto 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(), |