GeometryShaderGen: Set the properties of the VS_OUTPUT struct in the uid.
This commit is contained in:
parent
ed9f258b27
commit
9b2cd82da5
|
@ -62,6 +62,9 @@ static inline void GenerateGeometryShader(T& out, u32 components, API_TYPE ApiTy
|
|||
out.Write(s_shader_uniforms);
|
||||
out.Write("};\n");
|
||||
|
||||
uid_data->numTexGens = xfmem.numTexGen.numTexGens;
|
||||
uid_data->pixel_lighting = g_ActiveConfig.bEnablePixelLighting;
|
||||
|
||||
GenerateVSOutputStruct(out, ApiType);
|
||||
|
||||
out.Write("centroid in VS_OUTPUT o[3];\n");
|
||||
|
|
|
@ -14,6 +14,8 @@ struct geometry_shader_uid_data
|
|||
u32 NumValues() const { return sizeof(geometry_shader_uid_data); }
|
||||
|
||||
u32 stereo : 1;
|
||||
u32 numTexGens : 4;
|
||||
u32 pixel_lighting : 1;
|
||||
};
|
||||
|
||||
#pragma pack()
|
||||
|
|
Loading…
Reference in New Issue