summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2022-12-18 02:57:43 -0800
committerGravatar bunnei2023-06-03 00:05:28 -0700
commit91350524c29f01ae1019baa3848364059224d41c (patch)
tree1742a1245a536f618ef2a927bb1b426d102fc3e2
parentvideo_core: vk_swapchain: Fix image format for Android. (diff)
downloadyuzu-91350524c29f01ae1019baa3848364059224d41c.tar.gz
yuzu-91350524c29f01ae1019baa3848364059224d41c.tar.xz
yuzu-91350524c29f01ae1019baa3848364059224d41c.zip
video_core: vk_pipeline_cache: Disable support_descriptor_aliasing on Android.
-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
293 profile = Shader::Profile{ 293 profile = Shader::Profile{
294 .supported_spirv = device.SupportedSpirvVersion(), 294 .supported_spirv = device.SupportedSpirvVersion(),
295 .unified_descriptor_binding = true, 295 .unified_descriptor_binding = true,
296#ifdef ANDROID
297 .support_descriptor_aliasing = false,
298#else
296 .support_descriptor_aliasing = true, 299 .support_descriptor_aliasing = true,
300#endif
297 .support_int8 = device.IsInt8Supported(), 301 .support_int8 = device.IsInt8Supported(),
298 .support_int16 = device.IsShaderInt16Supported(), 302 .support_int16 = device.IsShaderInt16Supported(),
299 .support_int64 = device.IsShaderInt64Supported(), 303 .support_int64 = device.IsShaderInt64Supported(),