summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2015-08-22 10:08:14 +0200
committerMarkus Wick <markus@selfnet.de>2015-08-22 10:08:14 +0200
commit2d505bc2a6dfb677dc773ab6289801edc6a23553 (patch)
treef3a905cf75f08af51bc081d29cc7b4c11f104271 /Source/Core/VideoCommon/PixelShaderGen.cpp
parentc2f38f1d166871067ed5583bc436980fc9d0866d (diff)
parent3242e1a6175f9b8d9138dc3ff140604191f7de83 (diff)
Merge pull request #2894 from Sonicadvance1/no_more_eaten_canary
Fix the shader overrunning our max shader size.
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelShaderGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp
index 809623472c..8b4363e9ff 100644
--- a/Source/Core/VideoCommon/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/PixelShaderGen.cpp
@@ -137,7 +137,7 @@ static const char *tevRasTable[] =
static const char *tevCOutputTable[] = { "prev.rgb", "c0.rgb", "c1.rgb", "c2.rgb" };
static const char *tevAOutputTable[] = { "prev.a", "c0.a", "c1.a", "c2.a" };
-static char text[16384];
+static char text[32768];
template<class T> static inline void WriteStage(T& out, pixel_shader_uid_data* uid_data, int n, API_TYPE ApiType, const char swapModeTable[4][5]);
template<class T> static inline void WriteTevRegular(T& out, const char* components, int bias, int op, int clamp, int shift);