summaryrefslogtreecommitdiff
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorGravatar Matías Locatti2022-12-02 18:32:54 -0300
committerGravatar GitHub2022-12-02 18:32:54 -0300
commitc043ba84675794b37c42ac47b2776dc57d63decb (patch)
tree479743223a7103a600bf162fffa0203c9f92232d /src/video_core/renderer_vulkan
parentMerge pull request #9363 from liamwhite/gs (diff)
parentVulkan: update initialization (diff)
downloadyuzu-c043ba84675794b37c42ac47b2776dc57d63decb.tar.gz
yuzu-c043ba84675794b37c42ac47b2776dc57d63decb.tar.xz
yuzu-c043ba84675794b37c42ac47b2776dc57d63decb.zip
Merge pull request #9303 from liamwhite/new-vulkan-init
Vulkan: update initialization
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 150413b04..29da442fa 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -54,7 +54,7 @@ using VideoCommon::FileEnvironment;
54using VideoCommon::GenericEnvironment; 54using VideoCommon::GenericEnvironment;
55using VideoCommon::GraphicsEnvironment; 55using VideoCommon::GraphicsEnvironment;
56 56
57constexpr u32 CACHE_VERSION = 7; 57constexpr u32 CACHE_VERSION = 8;
58 58
59template <typename Container> 59template <typename Container>
60auto MakeSpan(Container& container) { 60auto MakeSpan(Container& container) {
@@ -289,7 +289,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device
289 const auto& float_control{device.FloatControlProperties()}; 289 const auto& float_control{device.FloatControlProperties()};
290 const VkDriverIdKHR driver_id{device.GetDriverID()}; 290 const VkDriverIdKHR driver_id{device.GetDriverID()};
291 profile = Shader::Profile{ 291 profile = Shader::Profile{
292 .supported_spirv = device.IsKhrSpirv1_4Supported() ? 0x00010400U : 0x00010000U, 292 .supported_spirv = device.SupportedSpirvVersion(),
293 .unified_descriptor_binding = true, 293 .unified_descriptor_binding = true,
294 .support_descriptor_aliasing = true, 294 .support_descriptor_aliasing = true,
295 .support_int8 = device.IsInt8Supported(), 295 .support_int8 = device.IsInt8Supported(),