aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/surface_base.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-01 21:37:32 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-01 21:48:55 -0300
commitd66cae7bd56b3031b042d931865afe3a16f8f27b (patch)
tree28e28e8c22dfb27609f1926ea538a64dd4a6463f /src/video_core/texture_cache/surface_base.cpp
parent44c1492086ffd35035500d9f0784e5eb08cb7f71 (diff)
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
Diffstat (limited to 'src/video_core/texture_cache/surface_base.cpp')
0 files changed, 0 insertions, 0 deletions