summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/shader_header.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-15common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINITReinUsesLisp1-19/+19
INSERT_PADDING_BYTES_NOINIT is more descriptive of the underlying behavior.
2020-10-09video_core: Enforce -Wclass-memaccessReinUsesLisp1-7/+6
2020-04-02shader_decompiler: Remove FragCoord.w hack and change IPA implementationReinUsesLisp1-25/+30
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
2019-11-04common_func: Use std::array for INSERT_PADDING_* macros.bunnei1-24/+26
- Zero initialization here is useful for determinism.
2019-02-14shader_decompiler: Improve Accuracy of Attribute Interpolation.Fernando Sahmkow1-3/+38
2019-01-15shader_header: Make local memory size getter constantReinUsesLisp1-1/+1
2018-11-23gl_shader_decompiler: Implement clip distancesReinUsesLisp1-1/+10
2018-10-24Implemented LD_L and ST_LFernandoS271-0/+5
2018-09-11Replace old FragmentHeader for the new HeaderFernandoS271-9/+15
2018-09-11Implemented (Partialy) Shader HeaderFernandoS271-0/+97