diff options
| author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2021-03-09 02:47:51 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-09 02:47:51 -0300 |
| commit | daf5c5060b4b2e4aa985fbfe9724eb99c51bbd71 (patch) | |
| tree | aaa1cc96298e6e114cb72dfb517f7a000d2a467d /src/video_core/compatible_formats.h | |
| parent | d1a7b2eca74ec3895df8cd046a36837ec2d70c64 (diff) | |
| parent | 5213f702307e43520ad5f264e613acdfec597077 (diff) | |
Merge pull request #5891 from ameerj/bgra-ogl
renderer_opengl: Use compute shaders to swizzle BGR textures on copy
Diffstat (limited to 'src/video_core/compatible_formats.h')
| -rw-r--r-- | src/video_core/compatible_formats.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/compatible_formats.h b/src/video_core/compatible_formats.h index 9a0522988..55745e042 100644 --- a/src/video_core/compatible_formats.h +++ b/src/video_core/compatible_formats.h @@ -8,8 +8,9 @@ namespace VideoCore::Surface { -bool IsViewCompatible(PixelFormat format_a, PixelFormat format_b, bool broken_views); +bool IsViewCompatible(PixelFormat format_a, PixelFormat format_b, bool broken_views, + bool native_bgr); -bool IsCopyCompatible(PixelFormat format_a, PixelFormat format_b); +bool IsCopyCompatible(PixelFormat format_a, PixelFormat format_b, bool native_bgr); } // namespace VideoCore::Surface |
