GeometryShaderGen: Use signed integers for the texture offset flags.
This commit is contained in:
parent
861fa1af23
commit
16af00d515
|
@ -50,5 +50,5 @@ struct GeometryShaderConstants
|
|||
float4 stereoparams;
|
||||
float4 lineptwidth;
|
||||
float4 viewport;
|
||||
u32 texoffsetflags[8];
|
||||
s32 texoffsetflags[8];
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue