summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-12-18 11:57:43 +0100
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:28 +0200
commit91350524c29f01ae1019baa3848364059224d41c (patch)
tree1742a1245a536f618ef2a927bb1b426d102fc3e2 /src
parentvideo_core: vk_swapchain: Fix image format for Android. (diff)
downloadyuzu-91350524c29f01ae1019baa3848364059224d41c.tar
yuzu-91350524c29f01ae1019baa3848364059224d41c.tar.gz
yuzu-91350524c29f01ae1019baa3848364059224d41c.tar.bz2
yuzu-91350524c29f01ae1019baa3848364059224d41c.tar.lz
yuzu-91350524c29f01ae1019baa3848364059224d41c.tar.xz
yuzu-91350524c29f01ae1019baa3848364059224d41c.tar.zst
yuzu-91350524c29f01ae1019baa3848364059224d41c.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
index 66dfe5733..b77ed2200 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -293,7 +293,11 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device
profile = Shader::Profile{
.supported_spirv = device.SupportedSpirvVersion(),
.unified_descriptor_binding = true,
+#ifdef ANDROID
+ .support_descriptor_aliasing = false,
+#else
.support_descriptor_aliasing = true,
+#endif
.support_int8 = device.IsInt8Supported(),
.support_int16 = device.IsShaderInt16Supported(),
.support_int64 = device.IsShaderInt64Supported(),