diff options
| author | 2023-05-02 17:52:41 -0700 | |
|---|---|---|
| committer | 2023-06-03 00:05:58 -0700 | |
| commit | ca4bf3844eb317c816f4b316967c7ae6697473d6 (patch) | |
| tree | ac5ff04295d4babc574a70485ba1b5c4187189c0 /src/video_core/renderer_vulkan | |
| parent | android: fix deadzone calculation (diff) | |
| download | yuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.tar.gz yuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.tar.xz yuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.zip | |
video_core: Enable support_descriptor_aliasing on Turnip, disable storage atomic otherwise.
Diffstat (limited to 'src/video_core/renderer_vulkan')
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index 48820b890..9482e91b0 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | |||
| @@ -298,11 +298,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device | |||
| 298 | profile = Shader::Profile{ | 298 | profile = Shader::Profile{ |
| 299 | .supported_spirv = device.SupportedSpirvVersion(), | 299 | .supported_spirv = device.SupportedSpirvVersion(), |
| 300 | .unified_descriptor_binding = true, | 300 | .unified_descriptor_binding = true, |
| 301 | #ifdef ANDROID | 301 | .support_descriptor_aliasing = device.IsDescriptorAliasingSupported(), |
| 302 | .support_descriptor_aliasing = false, | ||
| 303 | #else | ||
| 304 | .support_descriptor_aliasing = true, | ||
| 305 | #endif | ||
| 306 | .support_int8 = device.IsInt8Supported(), | 302 | .support_int8 = device.IsInt8Supported(), |
| 307 | .support_int16 = device.IsShaderInt16Supported(), | 303 | .support_int16 = device.IsShaderInt16Supported(), |
| 308 | .support_int64 = device.IsShaderInt64Supported(), | 304 | .support_int64 = device.IsShaderInt64Supported(), |