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
..
buffer_cache buffer_cache: Delay buffer destructions 2020-01-29 17:53:11 -03:00
engines shader_decompiler: Remove FragCoord.w hack and change IPA implementation 2020-04-01 21:48:55 -03:00
renderer_opengl shader_decompiler: Remove FragCoord.w hack and change IPA implementation 2020-04-01 21:48:55 -03:00
renderer_vulkan shader_decompiler: Remove FragCoord.w hack and change IPA implementation 2020-04-01 21:48:55 -03:00
shader shader_decompiler: Remove FragCoord.w hack and change IPA implementation 2020-04-01 21:48:55 -03:00
texture_cache Merge pull request #3501 from ReinUsesLisp/rgba16-snorm 2020-03-15 21:24:53 -03:00
textures astc: Fix clang build issues 2020-03-18 04:30:25 -03:00
CMakeLists.txt renderer_vulkan/wrapper: Add ToString function for VkResult 2020-03-27 03:21:03 -03:00
dirty_flags.cpp DirtyFlags: relax need to set render_targets as dirty 2020-03-14 11:47:33 -04:00
dirty_flags.h DirtyFlags: relax need to set render_targets as dirty 2020-03-14 11:47:33 -04:00
dma_pusher.cpp video_core: Reintroduce dirty flags infrastructure 2020-02-28 17:56:41 -03:00
dma_pusher.h gpu: Rewrite virtual memory manager using PageTable. 2019-03-20 22:36:02 -04:00
gpu_asynch.cpp Core: Wait for GPU to be idle before shutting down. 2019-10-04 19:59:53 -04:00
gpu_asynch.h Core: Wait for GPU to be idle before shutting down. 2019-10-04 19:59:53 -04:00
gpu_synch.cpp gpu: Change optional<reference_wrapper<T>> to T* for FramebufferConfig 2019-08-21 01:55:25 -03:00
gpu_synch.h Core: Wait for GPU to be idle before shutting down. 2019-10-04 19:59:53 -04:00
gpu_thread.cpp core: frontend: Refactor scope_acquire_window_context to scope_acquire_context. 2020-02-25 21:23:00 -05:00
gpu_thread.h gpu_thread: Use MPSCQueue for GPU commands. 2020-02-07 23:01:23 -05:00
gpu.cpp video_core/gpu: Remove unused functions 2020-02-25 16:53:47 -03:00
gpu.h video_core: Implement RGBA16_SNORM 2020-03-12 21:42:33 -03:00
guest_driver.cpp gl_shader_cache: Rework shader cache and remove post-specializations 2020-03-09 18:40:06 -03:00
guest_driver.h gl_shader_cache: Rework shader cache and remove post-specializations 2020-03-09 18:40:06 -03:00
macro_interpreter.cpp apply replay logic to all writes. remove replay from MacroInterpreter::Send (@fincs) 2020-03-22 22:25:44 +07:00
macro_interpreter.h video_core/macro_interpreter: Make definitions of most private enums/unions hidden 2019-10-17 17:55:46 -04:00
memory_manager.cpp video_core: memory_manager: Flush/invalidate asynchronously on Unmap. 2020-02-19 20:03:52 -05:00
memory_manager.h PageTable: move backing addresses to a children class as the CPU page table does not need them. 2020-03-14 09:43:57 -04:00
morton.cpp video_core: Implement RGBA16_SNORM 2020-03-12 21:42:33 -03:00
morton.h renderer_opengl: Use block linear swizzling for CPU framebuffers 2019-08-21 02:17:14 -03:00
query_cache.h query_cache: Address feedback 2020-02-14 17:38:27 -03:00
rasterizer_accelerated.cpp Added missing include 2019-12-11 18:11:49 +00:00
rasterizer_accelerated.h core: Prepare various classes for memory read/write migration 2019-11-26 21:55:37 -05:00
rasterizer_cache.cpp
rasterizer_cache.h rasterizer_cache: Protect inherited caches from submission level 2019-07-01 04:32:01 -04:00
rasterizer_interface.h yuzu/loading_screen: Remove unused shader progress mode 2020-03-09 18:40:53 -03:00
renderer_base.cpp
renderer_base.h renderer_opengl: Add texture mailbox support for presenter thread. 2020-02-25 21:22:59 -05:00
sampler_cache.cpp video_core: Abstract vk_sampler_cache into a templated class 2019-04-02 15:54:11 -03:00
sampler_cache.h video_core: Abstract vk_sampler_cache into a templated class 2019-04-02 15:54:11 -03:00
surface.cpp video_core: Implement RGBA16_SNORM 2020-03-12 21:42:33 -03:00
surface.h video_core: Implement RGBA16_SNORM 2020-03-12 21:42:33 -03:00
video_core.cpp yuzu: Implement Vulkan frontend 2020-01-29 17:53:11 -03:00
video_core.h video_core/gpu: Create threads separately from initialization 2019-04-11 22:11:40 -04:00