vk_texture_runtime: Implement RGBA4 converter

* Fixes graphics in NES Remix. Need to also do a reinterpreter some time, but this will suffice for now
This commit is contained in:
GPUCode
2022-10-30 19:10:18 +02:00
parent 16571a96a2
commit 349ac6ac05

View File

@ -283,6 +283,8 @@ void TextureRuntime::FormatConvert(const Surface& surface, bool upload, std::spa
return Pica::Texture::ConvertABGRToRGBA(source, dest);
case VideoCore::PixelFormat::RGB8:
return Pica::Texture::ConvertBGRToRGBA(source, dest);
case VideoCore::PixelFormat::RGBA4:
return Pica::Texture::ConvertRGBA4ToRGBA8(source, dest);
default:
break;
}