summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader.h
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/shader/shader.h
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 'src/video_core/shader/shader.h')
-rw-r--r--src/video_core/shader/shader.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/video_core/shader/shader.h b/src/video_core/shader/shader.h
index 1c6fa592c..f068cd93f 100644
--- a/src/video_core/shader/shader.h
+++ b/src/video_core/shader/shader.h
@@ -37,17 +37,19 @@ struct OutputVertex {
Math::Vec4<float24> color;
Math::Vec2<float24> tc0;
Math::Vec2<float24> tc1;
- float24 pad[6];
+ INSERT_PADDING_WORDS(2);
+ Math::Vec3<float24> view;
+ INSERT_PADDING_WORDS(1);
Math::Vec2<float24> tc2;
// Padding for optimal alignment
- float24 pad2[4];
+ INSERT_PADDING_WORDS(4);
// Attributes used to store intermediate results
// position after perspective divide
Math::Vec3<float24> screenpos;
- float24 pad3;
+ INSERT_PADDING_WORDS(1);
// Linear interpolation
// factor: 0=this, 1=vtx