yuzu/src/video_core
ReinUsesLisp 2339fe199f shader_decompiler: Remove FragCoord.w hack and change IPA implementation
Credits go to gdkchan and Ryujinx. The pull request used for this can
be found here: https://github.com/Ryujinx/Ryujinx/pull/1082

yuzu was already using the header for interpolation, but it was missing
the FragCoord.w multiplication described in the linked pull request.
This commit finally removes the FragCoord.w == 1.0f hack from the shader
decompiler.

While we are at it, this commit renames some enumerations to match
Nvidia's documentation (linked below) and fixes component declaration
order in the shader program header (z and w were swapped).

https://github.com/NVIDIA/open-gpu-doc/blob/master/Shader-Program-Header/Shader-Program-Header.html
2020-04-01 21:48:55 -03:00
..
2020-03-18 04:30:25 -03:00
2020-03-12 21:42:33 -03:00
2020-03-12 21:42:33 -03:00
2020-02-14 17:38:27 -03:00
2020-03-12 21:42:33 -03:00
2020-03-12 21:42:33 -03:00
2020-01-29 17:53:11 -03:00