GeometryShaderGen: Pack uniforms more tightly.

This commit is contained in:
Jules Blok
2014-12-16 00:21:07 +01:00
parent d115048615
commit 0ac7103391
4 changed files with 46 additions and 36 deletions

View File

@ -280,10 +280,9 @@ static inline void GenerateVSOutputStruct(T& object, API_TYPE api_type)
#define I_POSTTRANSFORMMATRICES "cpostmtx"
#define I_PIXELCENTERCORRECTION "cpixelcenter"
#define I_STEREOPARAMS "cstereo"
#define I_LINEPTWIDTH "clinept"
#define I_VIEWPORT "cviewport"
#define I_TEXOFFSETFLAGS "ctexoffset"
#define I_STEREOPARAMS "cstereo"
#define I_LINEPTPARAMS "clinept"
#define I_TEXOFFSET "ctexoffset"
static const char s_shader_uniforms[] =
"\tfloat4 " I_POSNORMALMATRIX"[6];\n"