suyu/src/video_core/renderer_opengl
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
..
gl_buffer_cache.cpp gl_rasterizer: Upload constant buffers with glNamedBufferSubData 2019-11-02 05:05:34 -03:00
gl_buffer_cache.h gl_rasterizer: Upload constant buffers with glNamedBufferSubData 2019-11-02 05:05:34 -03:00
gl_device.cpp renderer_opengl: Detect Nvidia Nsight as a debugging tool 2020-03-16 03:59:08 -03:00
gl_device.h renderer_opengl: Detect Nvidia Nsight as a debugging tool 2020-03-16 03:59:08 -03:00
gl_framebuffer_cache.cpp gl_state: Remove completely 2020-02-28 17:56:35 -03:00
gl_framebuffer_cache.h gl_state: Remove completely 2020-02-28 17:56:35 -03:00
gl_query_cache.cpp vk_query_cache: Implement generic query cache on Vulkan 2020-02-14 17:38:27 -03:00
gl_query_cache.h query_cache: Address feedback 2020-02-14 17:38:27 -03:00
gl_rasterizer.cpp gl_rasterizer: Update stencil test regardless of it being disabled 2020-03-26 01:08:14 -03:00
gl_rasterizer.h gl_rasterizer: Implement transform feedback bindings 2020-03-13 18:33:04 -03:00
gl_resource_manager.cpp gl_state: Remove completely 2020-02-28 17:56:35 -03:00
gl_resource_manager.h gl_state: Remove VAO cache and tracking 2020-02-28 16:54:37 -03:00
gl_sampler_cache.cpp Create an "Advanced" tab in the graphics configuration tab and add anisotropic filtering levels. 2020-02-27 21:34:00 -05:00
gl_sampler_cache.h video_core: Add missing override specifiers 2019-07-07 13:38:39 -04:00
gl_shader_cache.cpp gl_shader_decompiler: Add identifier to decompiled code 2020-03-09 18:40:53 -03:00
gl_shader_cache.h video_core: Rename "const buffer locker" to "registry" 2020-03-09 18:40:06 -03:00
gl_shader_decompiler.cpp shader_decompiler: Remove FragCoord.w hack and change IPA implementation 2020-04-01 21:48:55 -03:00
gl_shader_decompiler.h gl_shader_decompiler: Add identifier to decompiled code 2020-03-09 18:40:53 -03:00
gl_shader_disk_cache.cpp engines/maxwell_3d: Add TFB registers and store them in shader registry 2020-03-09 18:40:53 -03:00
gl_shader_disk_cache.h shader/registry: Store graphics and compute metadata 2020-03-09 18:40:07 -03:00
gl_shader_manager.cpp gl_shader_manager: Fix interaction between graphics and compute 2020-03-11 01:04:52 -03:00
gl_shader_manager.h gl_shader_manager: Fix interaction between graphics and compute 2020-03-11 01:04:52 -03:00
gl_shader_util.cpp gl_shader_cache: Address review commentaries 2019-07-15 17:38:25 -03:00
gl_shader_util.h gl_shader_util: Add parameter to handle retrievable programs 2019-02-06 22:20:57 -03:00
gl_state_tracker.cpp DirtyFlags: relax need to set render_targets as dirty 2020-03-14 11:47:33 -04:00
gl_state_tracker.h gl_rasterizer: Implement polygon modes and fill rectangles 2020-03-09 20:39:58 -03:00
gl_stream_buffer.cpp gl_state: Remove completely 2020-02-28 17:56:35 -03:00
gl_stream_buffer.h video_core: Make ARB_buffer_storage a required extension 2019-06-20 21:36:12 -03:00
gl_texture_cache.cpp video_core: Implement RGBA16_SNORM 2020-03-12 21:42:33 -03:00
gl_texture_cache.h renderer_opengl: Reintroduce dirty flags for render targets 2020-02-28 17:56:41 -03:00
maxwell_to_gl.h gl_rasterizer: Implement polygon modes and fill rectangles 2020-03-09 20:39:58 -03:00
renderer_opengl.cpp renderer_opengl: Move some logic to an anonymous namespace 2020-03-16 04:03:34 -03:00
renderer_opengl.h renderer_opengl: Reintroduce dirty flags for render targets 2020-02-28 17:56:41 -03:00
utils.cpp gl_state_tracker: Track state of index buffers 2020-02-28 17:56:42 -03:00
utils.h gl_state_tracker: Track state of index buffers 2020-02-28 17:56:42 -03:00