summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-01-03 01:44:04 +1300
committerScott Mansell <phiren@gmail.com>2015-01-03 09:23:09 +1300
commit1b771deb56ff0c7add39c7c93eeb322f3e384435 (patch)
treee376c7d4af40ae3714c60add923af143bd187838 /Source/Core/VideoCommon/VideoConfig.cpp
parent9c6795c7b74c8aa6c852a2855ab54315d34f8613 (diff)
Move worldpos into it's own varying.
Previously it was packed into spare slots in clippos.xy and normal.w, but it's ugly and more importantly it's causing bugs. This was discovered during the debugging of a zfreeze branch, which expected clippos.xy to be xy position coordinates in clipspace (as the name suggested). Turns out the stereoscopy shader had also run into this trap, modifying clippos.x (introducing errors with per-pixel lighting). This commit has been moved outside of the zfreeze PR for fast merging.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
0 files changed, 0 insertions, 0 deletions