suyu/src/video_core/renderer_opengl
ameerj 0639244d85 renderer_opengl: Swizzle BGR textures on copy
OpenGL does not natively support BGR internal formats, which causes many BGR textures to render incorrectly, with Red and Blue channels swapped.

This commit aims to address this by swizzling the blue and red channels on texture copies when a BGR format is encountered.
2021-03-04 14:14:19 -05:00
..
gl_arb_decompiler.cpp video_core: Make use of ordered container contains() where applicable 2020-12-07 16:30:39 -05:00
gl_arb_decompiler.h gl_arb_decompiler: Implement an assembly shader decompiler 2020-06-11 22:12:07 -03:00
gl_buffer_cache.cpp renderer_opengl: Remove interop 2021-02-13 02:18:04 -03:00
gl_buffer_cache.h renderer_opengl: Remove interop 2021-02-13 02:18:04 -03:00
gl_device.cpp Implement glDepthRangeIndexeddNV 2021-02-24 22:26:53 +00:00
gl_device.h Implement glDepthRangeIndexeddNV 2021-02-24 22:26:53 +00:00
gl_fence_manager.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_fence_manager.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_query_cache.cpp video_core: Resolve more variable shadowing scenarios pt.3 2020-12-05 16:02:23 -05:00
gl_query_cache.h video_core: Resolve more variable shadowing scenarios pt.3 2020-12-05 16:02:23 -05:00
gl_rasterizer.cpp Implement glDepthRangeIndexeddNV 2021-02-24 22:26:53 +00:00
gl_rasterizer.h renderer_opengl: Remove interop 2021-02-13 02:18:04 -03:00
gl_resource_manager.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_resource_manager.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_shader_cache.cpp gl_disk_shader_cache: Log total shader entries count on game load 2021-02-20 11:08:19 -05:00
gl_shader_cache.h video_core: Resolve more variable shadowing scenarios pt.3 2020-12-05 16:02:23 -05:00
gl_shader_decompiler.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_shader_decompiler.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_shader_disk_cache.cpp video_core: Make use of ordered container contains() where applicable 2020-12-07 16:30:39 -05:00
gl_shader_disk_cache.h video_core: Remove all Core::System references in renderer 2020-09-06 05:28:48 -03:00
gl_shader_manager.cpp video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
gl_shader_manager.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
gl_shader_util.cpp gl_shader_util: Use std::string_view instead of star pointer 2020-08-23 21:23:54 -03:00
gl_shader_util.h gl_shader_util: Use std::string_view instead of star pointer 2020-08-23 21:23:54 -03:00
gl_state_tracker.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_state_tracker.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_stream_buffer.cpp gl_stream_buffer/vk_staging_buffer_pool: Fix size check 2021-02-13 05:11:48 -03:00
gl_stream_buffer.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
gl_texture_cache.cpp renderer_opengl: Swizzle BGR textures on copy 2021-03-04 14:14:19 -05:00
gl_texture_cache.h gl_texture_cache: Lazily create non-sRGB texture views for sRGB formats 2021-02-13 13:27:50 -05:00
maxwell_to_gl.h maxwell_to_gl: Remove unused code 2021-02-12 23:01:09 -05:00
renderer_opengl.cpp renderer_opengl: Remove interop 2021-02-13 02:18:04 -03:00
renderer_opengl.h renderer_opengl: Remove interop 2021-02-13 02:18:04 -03:00
util_shaders.cpp renderer_opengl: Swizzle BGR textures on copy 2021-03-04 14:14:19 -05:00
util_shaders.h renderer_opengl: Swizzle BGR textures on copy 2021-03-04 14:14:19 -05:00