瀏覽代碼

video_core: vk_pipeline_cache: Disable support_descriptor_aliasing on Android.

bunnei 3 年之前
父節點
當前提交
91350524c2
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/video_core/renderer_vulkan/vk_pipeline_cache.cpp

+ 4 - 0
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(),