diff options
| author | Jules Blok <jules.blok@gmail.com> | 2014-12-14 21:44:33 +0100 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2014-12-15 22:47:35 +0100 |
| commit | 332ba4b2100ec4dcda4b2e83eb5b0e2d21e6abc4 (patch) | |
| tree | 813f133912e38e87195260582bdbee1ddf76ea44 /Source/Core/VideoCommon/GeometryShaderGen.cpp | |
| parent | aa4242fd9c807633f090baac2350f786a67ebe3d (diff) | |
GeometryShaderManager: Upload Line/Point width constants.
Diffstat (limited to 'Source/Core/VideoCommon/GeometryShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/GeometryShaderGen.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/GeometryShaderGen.cpp b/Source/Core/VideoCommon/GeometryShaderGen.cpp index 3a2282521e..814ad9c075 100644 --- a/Source/Core/VideoCommon/GeometryShaderGen.cpp +++ b/Source/Core/VideoCommon/GeometryShaderGen.cpp @@ -47,9 +47,12 @@ static inline void GenerateGeometryShader(T& out, u32 primitive_type, API_TYPE A out.Write("cbuffer GSBlock {\n"); out.Write( "\tfloat4 " I_STEREOPARAMS";\n" + "\tfloat4 " I_LINEPTWIDTH";\n" + "\tfloat4 " I_VIEWPORT";\n" + "\tuint " I_TEXOFFSETFLAGS"[8];\n" "};\n"); - uid_data->numTexGens = xfmem.numTexGen.numTexGens; + uid_data->numTexGens = bpmem.genMode.numtexgens; uid_data->pixel_lighting = g_ActiveConfig.bEnablePixelLighting; GenerateVSOutputStruct<T>(out, ApiType); |
