diff options
| author | 2022-08-02 17:41:41 +0100 | |
|---|---|---|
| committer | 2023-01-05 22:13:07 +0000 | |
| commit | bbfad79c89f9b7886005d39b51129bcfd94830b8 (patch) | |
| tree | 70450b224d32ae1302010248590caff84ea200b7 /src/video_core | |
| parent | Merge pull request #9527 from Wollnashorn/amd-cache-fix (diff) | |
| download | yuzu-bbfad79c89f9b7886005d39b51129bcfd94830b8.tar.gz yuzu-bbfad79c89f9b7886005d39b51129bcfd94830b8.tar.xz yuzu-bbfad79c89f9b7886005d39b51129bcfd94830b8.zip | |
Vulkan: Add a workaround for input_position on Adreno drivers
Adreno drivers will crash compiling geometry shaders if the input position is not wrapped in a gl_in struct.
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 1 |
1 files changed, 1 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 67e5bc648..4d7770bf8 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | |||
| @@ -331,6 +331,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device | |||
| 331 | .need_declared_frag_colors = false, | 331 | .need_declared_frag_colors = false, |
| 332 | 332 | ||
| 333 | .has_broken_spirv_clamp = driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS, | 333 | .has_broken_spirv_clamp = driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS, |
| 334 | .has_broken_spirv_position_input = driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY, | ||
| 334 | .has_broken_unsigned_image_offsets = false, | 335 | .has_broken_unsigned_image_offsets = false, |
| 335 | .has_broken_signed_operations = false, | 336 | .has_broken_signed_operations = false, |
| 336 | .has_broken_fp16_float_controls = driver_id == VK_DRIVER_ID_NVIDIA_PROPRIETARY, | 337 | .has_broken_fp16_float_controls = driver_id == VK_DRIVER_ID_NVIDIA_PROPRIETARY, |