Merge pull request #2894 from Sonicadvance1/no_more_eaten_canary

Fix the shader overrunning our max shader size.
This commit is contained in:
Markus Wick 2015-08-22 10:08:14 +02:00 committed by Jules Blok
parent 2dd7702af0
commit 994d13af83

View File

@ -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);