diff options
| author | 2022-12-18 02:57:43 -0800 | |
|---|---|---|
| committer | 2023-06-03 00:05:28 -0700 | |
| commit | 91350524c29f01ae1019baa3848364059224d41c (patch) | |
| tree | 1742a1245a536f618ef2a927bb1b426d102fc3e2 /src | |
| parent | video_core: vk_swapchain: Fix image format for Android. (diff) | |
| download | yuzu-91350524c29f01ae1019baa3848364059224d41c.tar.gz yuzu-91350524c29f01ae1019baa3848364059224d41c.tar.xz yuzu-91350524c29f01ae1019baa3848364059224d41c.zip | |
video_core: vk_pipeline_cache: Disable support_descriptor_aliasing on Android.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 4 |
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(), |