mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
ShaderGen: Add a stereoscopy flag in the UID data.
This commit is contained in:
parent
4fe9ceeee2
commit
b236c363de
4 changed files with 6 additions and 0 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue