video_core: Fix renderpass cache bug and introduce RGBA -> BGR converter

This commit is contained in:
GPUCode
2022-10-09 14:05:44 +03:00
parent 948f72d320
commit 91621ec202
5 changed files with 26 additions and 4 deletions

View File

@ -71,6 +71,8 @@ void ConvertBGRToRGB(std::span<const std::byte> source, std::span<std::byte> des
*/
void ConvertBGRToRGBA(std::span<const std::byte> source, std::span<std::byte> dest);
void ConvertRGBAToBGR(std::span<const std::byte> source, std::span<std::byte> dest);
/**
* Converts pixel data encoded in ABGR format to RGBA
*