suyu/src/video_core/shader/decode
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
..
arithmetic.cpp shader: FMUL switch to using LUT (#3441) 2020-02-27 11:14:25 -05:00
arithmetic_half.cpp shader/decode: Reduce severity of arithmetic rounding warnings 2019-11-07 01:43:38 -03:00
arithmetic_half_immediate.cpp shader/decode: Reduce severity of arithmetic rounding warnings 2019-11-07 01:43:38 -03:00
arithmetic_immediate.cpp shader: Use shared_ptr to store nodes and move initialization to file 2019-06-05 20:41:52 -03:00
arithmetic_integer.cpp shader/lea: Simplify generated LEA code 2020-03-28 03:55:04 -03:00
arithmetic_integer_immediate.cpp shader: Use shared_ptr to store nodes and move initialization to file 2019-06-05 20:41:52 -03:00
bfe.cpp clang-format 2020-03-14 10:07:40 +07:00
bfi.cpp shader/decode: Fix constant buffer offsets 2020-02-05 12:19:09 -03:00
conversion.cpp shader/conversion: Fix F2F rounding operations with different sizes 2020-03-26 01:58:49 -03:00
ffma.cpp shader/decode: Reduce severity of arithmetic rounding warnings 2019-11-07 01:43:38 -03:00
float_set.cpp video_core: Silent miscellaneous warnings (#2820) 2019-08-30 14:08:00 -04:00
float_set_predicate.cpp Merge pull request #2811 from ReinUsesLisp/fsetp-fix 2019-09-03 22:34:34 -04:00
half_set.cpp shader/decode: Reduce severity of arithmetic rounding warnings 2019-11-07 01:43:38 -03:00
half_set_predicate.cpp shader/decode: Reduce severity of arithmetic rounding warnings 2019-11-07 01:43:38 -03:00
hfma2.cpp Shader_Ir: Downgrade precision and rounding asserts to debug asserts. 2019-07-18 08:17:19 -04:00
image.cpp shader/node: Unpack bindless texture encoding 2019-10-29 20:53:48 -03:00
integer_set.cpp video_core: Silent miscellaneous warnings (#2820) 2019-08-30 14:08:00 -04:00
integer_set_predicate.cpp video_core: Silent miscellaneous warnings (#2820) 2019-08-30 14:08:00 -04:00
memory.cpp clang-format 2020-03-31 08:08:06 +07:00
other.cpp shader_decompiler: Remove FragCoord.w hack and change IPA implementation 2020-04-01 21:48:55 -03:00
predicate_set_predicate.cpp shader: Use shared_ptr to store nodes and move initialization to file 2019-06-05 20:41:52 -03:00
predicate_set_register.cpp video_core: Silent miscellaneous warnings (#2820) 2019-08-30 14:08:00 -04:00
register_set_predicate.cpp shader/p2r: Implement P2R Pr 2019-12-20 18:02:41 -03:00
shift.cpp shader/shift: Implement SHIFT_RIGHT_{IMM,R} 2020-02-01 21:20:02 -03:00
texture.cpp video_core: Rename "const buffer locker" to "registry" 2020-03-09 18:40:06 -03:00
video.cpp video_core/shader: Resolve instances of variable shadowing 2019-10-23 23:00:31 -04:00
warp.cpp shader: Keep track of shaders using warp instructions 2019-12-09 23:40:41 -03:00
xmad.cpp xmad: fix clang build error 2020-03-23 00:09:31 +01:00