diff options
author | bunnei <bunneidev@gmail.com> | 2023-02-12 09:18:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 09:18:52 +0100 |
commit | f70fcdb873f768403af37622fbc195433b3605ef (patch) | |
tree | b1fbe289c78b39bde41e7a895d8e172d4f3a1927 /src/video_core/renderer_opengl/util_shaders.h | |
parent | Merge pull request #9781 from ColinKinloch/info_id_typo (diff) | |
parent | texture_cache: OpenGL: Implement MSAA uploads and copies (diff) | |
download | yuzu-f70fcdb873f768403af37622fbc195433b3605ef.tar yuzu-f70fcdb873f768403af37622fbc195433b3605ef.tar.gz yuzu-f70fcdb873f768403af37622fbc195433b3605ef.tar.bz2 yuzu-f70fcdb873f768403af37622fbc195433b3605ef.tar.lz yuzu-f70fcdb873f768403af37622fbc195433b3605ef.tar.xz yuzu-f70fcdb873f768403af37622fbc195433b3605ef.tar.zst yuzu-f70fcdb873f768403af37622fbc195433b3605ef.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/util_shaders.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/util_shaders.h b/src/video_core/renderer_opengl/util_shaders.h index 44efb6ecf..9013808e7 100644 --- a/src/video_core/renderer_opengl/util_shaders.h +++ b/src/video_core/renderer_opengl/util_shaders.h @@ -40,6 +40,9 @@ public: void ConvertS8D24(Image& dst_image, std::span<const VideoCommon::ImageCopy> copies); + void CopyMSAA(Image& dst_image, Image& src_image, + std::span<const VideoCommon::ImageCopy> copies); + private: ProgramManager& program_manager; @@ -51,6 +54,8 @@ private: OGLProgram pitch_unswizzle_program; OGLProgram copy_bc4_program; OGLProgram convert_s8d24_program; + OGLProgram convert_ms_to_nonms_program; + OGLProgram convert_nonms_to_ms_program; }; GLenum StoreFormat(u32 bytes_per_block); |