mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
TextureCache: Support reinterpreting formats for VRAM textures
This commit is contained in:
parent
77f406c8a8
commit
946571b759
7 changed files with 335 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue