diff options
author | bunnei <bunneidev@gmail.com> | 2015-09-10 04:39:43 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-02-05 23:17:28 +0100 |
commit | b0030755708849eb27fe2bf1cc481c5ab905468e (patch) | |
tree | 966520312f4a1db78c4d36181782793d5ee62ce2 /src/video_core/clipper.cpp | |
parent | pica: Implement fragment lighting LUTs. (diff) | |
download | yuzu-b0030755708849eb27fe2bf1cc481c5ab905468e.tar yuzu-b0030755708849eb27fe2bf1cc481c5ab905468e.tar.gz yuzu-b0030755708849eb27fe2bf1cc481c5ab905468e.tar.bz2 yuzu-b0030755708849eb27fe2bf1cc481c5ab905468e.tar.lz yuzu-b0030755708849eb27fe2bf1cc481c5ab905468e.tar.xz yuzu-b0030755708849eb27fe2bf1cc481c5ab905468e.tar.zst yuzu-b0030755708849eb27fe2bf1cc481c5ab905468e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/clipper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/clipper.cpp b/src/video_core/clipper.cpp index 5d609da06..3a09d62f4 100644 --- a/src/video_core/clipper.cpp +++ b/src/video_core/clipper.cpp @@ -68,6 +68,8 @@ static void InitScreenCoordinates(OutputVertex& vtx) float24 inv_w = float24::FromFloat32(1.f) / vtx.pos.w; vtx.color *= inv_w; + vtx.view *= inv_w; + vtx.quat *= inv_w; vtx.tc0 *= inv_w; vtx.tc1 *= inv_w; vtx.tc2 *= inv_w; |