summaryrefslogtreecommitdiffstats
path: root/src/video_core/clipper.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-09-10 04:39:43 +0200
committerbunnei <bunneidev@gmail.com>2016-02-05 23:17:28 +0100
commitb0030755708849eb27fe2bf1cc481c5ab905468e (patch)
tree966520312f4a1db78c4d36181782793d5ee62ce2 /src/video_core/clipper.cpp
parentpica: Implement fragment lighting LUTs. (diff)
downloadyuzu-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.cpp2
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;