diff options
| author | Jules Blok <jules.blok@gmail.com> | 2014-10-28 19:27:05 +0100 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2014-11-23 14:23:42 +0100 |
| commit | b236c363de097ca8164c315e37dc369139a8a20c (patch) | |
| tree | b95447bfd610c5f5044318636a109794eda668f2 /Source/Core/VideoCommon/PixelShaderGen.cpp | |
| parent | 4fe9ceeee276d2bec8cab86fdf8e5af5ed91cfc6 (diff) | |
ShaderGen: Add a stereoscopy flag in the UID data.
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index edad01ee77..d2124f2ad7 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -335,6 +335,7 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T // Without MSAA, this flag is defined to have no effect. out.Write("centroid in VS_OUTPUT o;\n"); + uid_data->stereo = g_ActiveConfig.bStereo; if (g_ActiveConfig.bStereo) out.Write("flat in int eye;\n"); |
