forked from suyu/suyu
2339fe199f
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 |
||
---|---|---|
.. | ||
const_buffer_engine_interface.h | ||
const_buffer_info.h | ||
engine_upload.cpp | ||
engine_upload.h | ||
fermi_2d.cpp | ||
fermi_2d.h | ||
kepler_compute.cpp | ||
kepler_compute.h | ||
kepler_memory.cpp | ||
kepler_memory.h | ||
maxwell_3d.cpp | ||
maxwell_3d.h | ||
maxwell_dma.cpp | ||
maxwell_dma.h | ||
shader_bytecode.h | ||
shader_header.h | ||
shader_type.h |