diff --git a/Source/Core/VideoCommon/ConstantManager.h b/Source/Core/VideoCommon/ConstantManager.h index 00f82d681e..83c97b2598 100644 --- a/Source/Core/VideoCommon/ConstantManager.h +++ b/Source/Core/VideoCommon/ConstantManager.h @@ -50,5 +50,5 @@ struct GeometryShaderConstants float4 stereoparams; float4 lineptwidth; float4 viewport; - u32 texoffsetflags[8]; + s32 texoffsetflags[8]; }; diff --git a/Source/Core/VideoCommon/GeometryShaderGen.cpp b/Source/Core/VideoCommon/GeometryShaderGen.cpp index 37f75ad0d0..a8bd784b1b 100644 --- a/Source/Core/VideoCommon/GeometryShaderGen.cpp +++ b/Source/Core/VideoCommon/GeometryShaderGen.cpp @@ -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;