summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexShaderGen.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-03-03 02:03:03 +0100
committerPierre Bourdon <delroth@gmail.com>2016-03-03 02:03:03 +0100
commit265c6408d6f2d3684d84d6a4c8d8a7fbd0adadf6 (patch)
treec5635299c45c6e9fc7180be508543a96179f8494 /Source/Core/VideoCommon/VertexShaderGen.cpp
parentf752c6e7044c9b391bb2c88a6114bd46ca43d09c (diff)
parent6d1628eda4b78bfee7eefec1b632953f52a785f5 (diff)
Merge pull request #3686 from Armada651/revert-3578
Revert "Merge pull request #3578 from Armada651/forced-slow-depth"
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexShaderGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderGen.cpp b/Source/Core/VideoCommon/VertexShaderGen.cpp
index feb94bfa5d..9a9a23b5b9 100644
--- a/Source/Core/VideoCommon/VertexShaderGen.cpp
+++ b/Source/Core/VideoCommon/VertexShaderGen.cpp
@@ -333,7 +333,7 @@ static T GenerateVertexShader(API_TYPE api_type)
else // OGL
{
// this results in a scale from -1..0 to -1..1 after perspective
- // divide, but introduces a floating point round-trip error.
+ // divide
out.Write("o.pos.z = o.pos.z * -2.0 - o.pos.w;\n");
// the next steps of the OGL pipeline are: