Browse Source

video_core: vk_pipeline_cache: Disable support_descriptor_aliasing on Android.

nce_cpp
bunnei 3 years ago
parent
commit
ce06e9e7fc
  1. 4
      src/video_core/renderer_vulkan/vk_pipeline_cache.cpp

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

Loading…
Cancel
Save