yuzu/src/shader_recompiler
Wollnashorn 780240e697 shader_recompiler: Add subpixel offset for correct rounding at ImageGather
On AMD a subpixel offset of 1/512 of the texel size is applied to the texture coordinates at a ImageGather call to ensure the rounding at the texel centers is done the same way as in Maxwell or other Nvidia architectures.
See https://www.reedbeta.com/blog/texture-gathers-and-coordinate-precision/ for more details why this might be necessary.

This should fix shadow artifacts at object edges in Zelda: Breath of the Wild (#9957, #6956).
2023-04-08 16:12:30 +02:00
..
backend shader_recompiler: Add subpixel offset for correct rounding at ImageGather 2023-04-08 16:12:30 +02:00
frontend Merge pull request #9588 from liamwhite/bylaws-reverts 2023-02-19 13:11:57 -05:00
ir_opt buffer_cache: Add logic for non-NVN storage buffer tracking 2023-02-25 16:24:21 -05:00
CMakeLists.txt Merge pull request #9300 from ameerj/pch 2022-12-03 14:10:06 -05:00
environment.h ShaderCompiler: Inline driver specific constants. 2023-01-03 16:29:25 -05:00
exception.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
host_translate_info.h Revert "shader_recompiler: Align SSBO offsets to meet host requirements" 2023-01-07 15:50:58 -05:00
object_pool.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
precompiled_headers.h CMake: Consolidate common PCH headers 2022-11-30 18:30:30 -05:00
profile.h shader_recompiler: Add subpixel offset for correct rounding at ImageGather 2023-04-08 16:12:30 +02:00
program_header.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
runtime_info.h video_core: Fix legacy to generic location unpaired 2022-09-20 12:03:31 +08:00
shader_info.h spirv: fix multisampled image fetch 2023-01-23 12:03:19 -05:00
stage.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
varying_state.h MacroHLE: Add HLE replacement for base vertex and base instance. 2023-01-01 16:43:57 -05:00