1
0
Fork 1
forked from suyu/suyu

video_core: vk_pipeline_cache: Disable support_descriptor_aliasing on Android.

This commit is contained in:
bunnei 2022-12-18 02:57:43 -08:00
parent 6ed62a9f10
commit 91350524c2

View file

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