yuzu/src/video_core/renderer_opengl
Wollnashorn 780240e697 shader_recompiler: Add subpixel offset for correct rounding at ImageGather
On AMD a subpixel offset of 1/512 of the texel size is applied to the texture coordinates at a ImageGather call to ensure the rounding at the texel centers is done the same way as in Maxwell or other Nvidia architectures.
See https://www.reedbeta.com/blog/texture-gathers-and-coordinate-precision/ for more details why this might be necessary.

This should fix shadow artifacts at object edges in Zelda: Breath of the Wild (#9957, #6956).
2023-04-08 16:12:30 +02:00
..
blit_image.cpp video_core: Fix ogl status error when draw_texture 2023-03-12 13:33:31 +08:00
blit_image.h video_core: Implement maxwell3d draw texture method 2023-01-05 12:41:28 +08:00
gl_buffer_cache.cpp video_core: Fix SNORM texture buffer emulating error (#9001) 2022-11-04 02:39:42 -04:00
gl_buffer_cache.h Revert "Vulkan, OpenGL: Hook up storage buffer alignment code" 2023-01-07 15:48:50 -05:00
gl_compute_pipeline.cpp gl_compute_pipeline: Force context flush when loading shader cache 2023-01-29 21:32:12 -05:00
gl_compute_pipeline.h gl_compute_pipeline: Force context flush when loading shader cache 2023-01-29 21:32:12 -05:00
gl_device.cpp shader_recompiler: Add subpixel offset for correct rounding at ImageGather 2023-04-08 16:12:30 +02:00
gl_device.h shader_recompiler: Add subpixel offset for correct rounding at ImageGather 2023-04-08 16:12:30 +02:00
gl_fence_manager.cpp OpenGL: Prefer glClientWaitSync for OGLSync objects 2023-03-08 20:29:25 -05:00
gl_fence_manager.h VideoCore: Refactor fencing system. 2022-10-06 21:00:52 +02:00
gl_fsr.cpp video_core/opengl: Add FSR upscaling filter to the OpenGL renderer 2023-01-26 21:43:33 +01:00
gl_fsr.h video_core/opengl: Add FSR upscaling filter to the OpenGL renderer 2023-01-26 21:43:33 +01:00
gl_graphics_pipeline.cpp OpenGL: Prefer glClientWaitSync for OGLSync objects 2023-03-08 20:29:25 -05:00
gl_graphics_pipeline.h gl_graphics_pipeline: Force context flush when loading shader cache 2023-01-29 20:26:49 -05:00
gl_query_cache.cpp VideoCore: implement channels on gpu caches. 2022-10-06 21:00:51 +02:00
gl_query_cache.h VideoCore: implement channels on gpu caches. 2022-10-06 21:00:51 +02:00
gl_rasterizer.cpp Merge pull request #9943 from vonchenplus/gentleman 2023-03-13 13:45:17 -04:00
gl_rasterizer.h general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
gl_resource_manager.cpp OpenGL: Prefer glClientWaitSync for OGLSync objects 2023-03-08 20:29:25 -05:00
gl_resource_manager.h OpenGL: Prefer glClientWaitSync for OGLSync objects 2023-03-08 20:29:25 -05:00
gl_shader_cache.cpp shader_recompiler: Add subpixel offset for correct rounding at ImageGather 2023-04-08 16:12:30 +02:00
gl_shader_cache.h gl_compute_pipeline: Force context flush when loading shader cache 2023-01-29 21:32:12 -05:00
gl_shader_context.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
gl_shader_manager.cpp video_core: Implement opengl/vulkan draw_texture 2023-01-05 12:41:33 +08:00
gl_shader_manager.h video_core: Implement opengl/vulkan draw_texture 2023-01-05 12:41:33 +08:00
gl_shader_util.cpp renderer_opengl: delete shader source after linking 2022-07-30 13:21:26 -04:00
gl_shader_util.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
gl_state_tracker.cpp ir/texture_pass: Use host_info instead of querying Settings::values (#9176) 2022-11-11 03:32:53 +01:00
gl_state_tracker.h state_tracker: workaround channel setup for homebrew 2022-10-06 21:00:54 +02:00
gl_stream_buffer.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
gl_stream_buffer.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
gl_texture_cache_base.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
gl_texture_cache.cpp Merge pull request #9913 from ameerj/acc-dma-refactor 2023-03-11 20:04:19 +01:00
gl_texture_cache.h Refactor AccelerateDMA code 2023-03-06 22:57:45 -05:00
maxwell_to_gl.h GPU: Implement additional render target formats. 2022-11-24 20:35:44 +01:00
renderer_opengl.cpp video_core/opengl: Add FSR upscaling filter to the OpenGL renderer 2023-01-26 21:43:33 +01:00
renderer_opengl.h video_core/opengl: Add FSR upscaling filter to the OpenGL renderer 2023-01-26 21:43:33 +01:00
util_shaders.cpp texture_cache: OpenGL: Implement MSAA uploads and copies 2023-02-11 15:43:07 -05:00
util_shaders.h texture_cache: OpenGL: Implement MSAA uploads and copies 2023-02-11 15:43:07 -05:00