diff options
author | Fernando S <fsahmkow27@gmail.com> | 2022-04-07 16:59:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 16:59:41 +0200 |
commit | 4265372099be28590a880859bb0d1af0cb4fef72 (patch) | |
tree | 92fbcf05d6e7b3794679e43c3387d2c25cd3a4d5 /src/video_core/renderer_opengl/util_shaders.h | |
parent | Merge pull request #8152 from liamwhite/gl-crop (diff) | |
parent | OpenGL: fix S8D24 to ABGR8 conversions (diff) | |
download | yuzu-4265372099be28590a880859bb0d1af0cb4fef72.tar yuzu-4265372099be28590a880859bb0d1af0cb4fef72.tar.gz yuzu-4265372099be28590a880859bb0d1af0cb4fef72.tar.bz2 yuzu-4265372099be28590a880859bb0d1af0cb4fef72.tar.lz yuzu-4265372099be28590a880859bb0d1af0cb4fef72.tar.xz yuzu-4265372099be28590a880859bb0d1af0cb4fef72.tar.zst yuzu-4265372099be28590a880859bb0d1af0cb4fef72.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/util_shaders.h')
-rw-r--r-- | src/video_core/renderer_opengl/util_shaders.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/util_shaders.h b/src/video_core/renderer_opengl/util_shaders.h index 5de95ea7a..5c132e67f 100644 --- a/src/video_core/renderer_opengl/util_shaders.h +++ b/src/video_core/renderer_opengl/util_shaders.h @@ -39,6 +39,8 @@ public: void CopyBC4(Image& dst_image, Image& src_image, std::span<const VideoCommon::ImageCopy> copies); + void ConvertS8D24(Image& dst_image, std::span<const VideoCommon::ImageCopy> copies); + private: ProgramManager& program_manager; @@ -49,6 +51,7 @@ private: OGLProgram block_linear_unswizzle_3d_program; OGLProgram pitch_unswizzle_program; OGLProgram copy_bc4_program; + OGLProgram convert_s8d24_program; }; GLenum StoreFormat(u32 bytes_per_block); |