summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FramebufferShaderGen.h
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2019-07-14 15:24:12 +1000
committerStenzek <stenzek@gmail.com>2019-07-14 19:16:27 +1000
commit946571b7595b6b24e02cf8622f2bd5935b5aa360 (patch)
treeeef0c948d64df352f6b37e0625e4dbd917d8f7e4 /Source/Core/VideoCommon/FramebufferShaderGen.h
parent77f406c8a8dc638bd6404dd71b7537eed9498b69 (diff)
TextureCache: Support reinterpreting formats for VRAM textures
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferShaderGen.h')
-rw-r--r--Source/Core/VideoCommon/FramebufferShaderGen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/FramebufferShaderGen.h b/Source/Core/VideoCommon/FramebufferShaderGen.h
index 0e065521cf..b0134b5897 100644
--- a/Source/Core/VideoCommon/FramebufferShaderGen.h
+++ b/Source/Core/VideoCommon/FramebufferShaderGen.h
@@ -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