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
..
2023-03-29 19:26:12 -07:00
2023-04-02 02:21:54 -06:00
2023-03-12 11:33:01 -04:00
2023-03-29 19:26:12 -07:00
2022-07-27 12:53:49 +02:00
2023-03-12 11:33:01 -04:00