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/VertexShaderGen.cpp | |
| parent | 4fe9ceeee276d2bec8cab86fdf8e5af5ed91cfc6 (diff) | |
ShaderGen: Add a stereoscopy flag in the UID data.
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderGen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderGen.cpp b/Source/Core/VideoCommon/VertexShaderGen.cpp index d7fd94ddec..0daaaf3275 100644 --- a/Source/Core/VideoCommon/VertexShaderGen.cpp +++ b/Source/Core/VideoCommon/VertexShaderGen.cpp @@ -219,6 +219,7 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ out.Write("o.pos = float4(dot(" I_PROJECTION"[0], pos), dot(" I_PROJECTION"[1], pos), dot(" I_PROJECTION"[2], pos), dot(" I_PROJECTION"[3], pos));\n"); + uid_data->stereo = g_ActiveConfig.bStereo; if (g_ActiveConfig.bStereo) out.Write("o.rawpos = pos;\n"); |
