From 994d13af831d2e236b72053b9cb9303f3adac64e Mon Sep 17 00:00:00 2001 From: Markus Wick Date: Sat, 22 Aug 2015 10:08:14 +0200 Subject: [PATCH] Merge pull request #2894 from Sonicadvance1/no_more_eaten_canary Fix the shader overrunning our max shader size. --- Source/Core/VideoCommon/PixelShaderGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index ad251203f9..fc5a9ba631 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 static inline void WriteStage(T& out, pixel_shader_uid_data* uid_data, int n, API_TYPE ApiType, const char swapModeTable[4][5]); template static inline void WriteTevRegular(T& out, const char* components, int bias, int op, int clamp, int shift);