summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorMatías Locatti <42481638+goldenx86@users.noreply.github.com>2022-12-02 22:32:54 +0100
committerGitHub <noreply@github.com>2022-12-02 22:32:54 +0100
commitc043ba84675794b37c42ac47b2776dc57d63decb (patch)
tree479743223a7103a600bf162fffa0203c9f92232d /src/video_core/renderer_vulkan
parentMerge pull request #9363 from liamwhite/gs (diff)
parentVulkan: update initialization (diff)
downloadyuzu-c043ba84675794b37c42ac47b2776dc57d63decb.tar
yuzu-c043ba84675794b37c42ac47b2776dc57d63decb.tar.gz
yuzu-c043ba84675794b37c42ac47b2776dc57d63decb.tar.bz2
yuzu-c043ba84675794b37c42ac47b2776dc57d63decb.tar.lz
yuzu-c043ba84675794b37c42ac47b2776dc57d63decb.tar.xz
yuzu-c043ba84675794b37c42ac47b2776dc57d63decb.tar.zst
yuzu-c043ba84675794b37c42ac47b2776dc57d63decb.zip
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;
using VideoCommon::GenericEnvironment;
using VideoCommon::GraphicsEnvironment;
-constexpr u32 CACHE_VERSION = 7;
+constexpr u32 CACHE_VERSION = 8;
template <typename Container>
auto MakeSpan(Container& container) {
@@ -289,7 +289,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(),