1
0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2025-05-08 00:30:07 +00:00
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 (, ).
2023-04-08 16:12:30 +02:00
..
2023-01-01 16:43:58 -05:00