GeometryShaderGen: Use signed integers for the texture offset flags.

This commit is contained in:
Jules Blok 2014-12-15 23:05:16 +01:00
parent 861fa1af23
commit 16af00d515
2 changed files with 2 additions and 2 deletions

View File

@ -50,5 +50,5 @@ struct GeometryShaderConstants
float4 stereoparams;
float4 lineptwidth;
float4 viewport;
u32 texoffsetflags[8];
s32 texoffsetflags[8];
};

View File

@ -75,7 +75,7 @@ static inline void GenerateGeometryShader(T& out, u32 primitive_type, API_TYPE A
"\tfloat4 " I_STEREOPARAMS";\n"
"\tfloat4 " I_LINEPTWIDTH";\n"
"\tfloat4 " I_VIEWPORT";\n"
"\tuint " I_TEXOFFSETFLAGS"[8];\n"
"\tint " I_TEXOFFSETFLAGS"[8];\n"
"};\n");
uid_data->numTexGens = bpmem.genMode.numtexgens;