mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +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
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue