diff options
| author | Jules Blok <jules.blok@gmail.com> | 2014-11-22 19:18:45 +0100 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2014-11-23 14:30:12 +0100 |
| commit | 9b2cd82da5e81c74eea06ebc6cf49454eb4eaf4e (patch) | |
| tree | 74947121e0a351f516a231679dfee5c0aece098f /Source/Core/VideoCommon/GeometryShaderGen.cpp | |
| parent | ed9f258b275b61f4ee154e19412efee34f2f8759 (diff) | |
GeometryShaderGen: Set the properties of the VS_OUTPUT struct in the uid.
Diffstat (limited to 'Source/Core/VideoCommon/GeometryShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/GeometryShaderGen.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/GeometryShaderGen.cpp b/Source/Core/VideoCommon/GeometryShaderGen.cpp index afaa16582b..83a590a7ed 100644 --- a/Source/Core/VideoCommon/GeometryShaderGen.cpp +++ b/Source/Core/VideoCommon/GeometryShaderGen.cpp @@ -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"); |
