From 91350524c29f01ae1019baa3848364059224d41c Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 18 Dec 2022 02:57:43 -0800 Subject: video_core: vk_pipeline_cache: Disable support_descriptor_aliasing on Android. --- src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/video_core') 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(), -- cgit v1.2.3