TextureCache: Support reinterpreting formats for VRAM textures

This commit is contained in:
Stenzek
2019-07-14 15:24:12 +10:00
parent 77f406c8a8
commit 946571b759
7 changed files with 335 additions and 6 deletions

View File

@ -3,6 +3,7 @@
#include "VideoCommon/VideoCommon.h"
enum class EFBReinterpretType;
enum class TextureFormat;
namespace FramebufferShaderGen
{
@ -28,5 +29,6 @@ std::string GenerateClearVertexShader();
std::string GenerateEFBPokeVertexShader();
std::string GenerateColorPixelShader();
std::string GenerateFormatConversionShader(EFBReinterpretType convtype, u32 samples);
std::string GenerateTextureReinterpretShader(TextureFormat from_format, TextureFormat to_format);
} // namespace FramebufferShaderGen