summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorWollnashorn <Wollnashorn@users.noreply.github.com>2023-04-05 03:02:24 +0200
committerWollnashorn <Wollnashorn@users.noreply.github.com>2023-04-08 16:12:44 +0200
commitfe91066f4673f7a3ee87235f08b72db4910eb01c (patch)
tree7228ef7eb04f1f0ceb289d54daeba42d0d2719c8 /src/video_core/renderer_vulkan
parentshader_recompiler: Add subpixel offset for correct rounding at `ImageGather` (diff)
downloadyuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.tar
yuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.tar.gz
yuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.tar.bz2
yuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.tar.lz
yuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.tar.xz
yuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.tar.zst
yuzu-fe91066f4673f7a3ee87235f08b72db4910eb01c.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
index f51257267..8963b6a66 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -329,7 +329,9 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device
.lower_left_origin_mode = false,
.need_declared_frag_colors = false,
- .need_gather_subpixel_offset = device.NeedsGatherSubpixelOffset(),
+ .need_gather_subpixel_offset = driver_id == VK_DRIVER_ID_AMD_PROPRIETARY ||
+ driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS ||
+ driver_id == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA,
.has_broken_spirv_clamp = driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS,
.has_broken_spirv_position_input = driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY,