mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
VideoCommon: Switch to Nvidia stereoscopy offset formula.
This commit is contained in:
parent
8210b9c915
commit
f3ddf37d07
6 changed files with 13 additions and 12 deletions
|
@ -239,7 +239,7 @@ private:
|
|||
#define I_NORMALMATRICES "cnmtx"
|
||||
#define I_POSTTRANSFORMMATRICES "cpostmtx"
|
||||
#define I_DEPTHPARAMS "cDepth" // farZ, zRange
|
||||
#define I_STEREOOFFSET "csoffset"
|
||||
#define I_STEREOPARAMS "cstereo"
|
||||
|
||||
static const char s_shader_uniforms[] =
|
||||
"\tfloat4 " I_POSNORMALMATRIX"[6];\n"
|
||||
|
@ -251,4 +251,4 @@ static const char s_shader_uniforms[] =
|
|||
"\tfloat4 " I_NORMALMATRICES"[32];\n"
|
||||
"\tfloat4 " I_POSTTRANSFORMMATRICES"[64];\n"
|
||||
"\tfloat4 " I_DEPTHPARAMS";\n"
|
||||
"\tfloat4 " I_STEREOOFFSET";\n";
|
||||
"\tfloat4 " I_STEREOPARAMS";\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue