diff options
author | bunnei <bunneidev@gmail.com> | 2016-02-06 03:49:44 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-02-06 03:49:44 +0100 |
commit | f1d1049c4fdf51fd382f9afb6b5cd5f104e71b0e (patch) | |
tree | 5cac94917f52f018e0939f8b2e1be079e50c313c /src/video_core/shader/shader.h | |
parent | Merge pull request #1391 from tfarley/hw-fb-sync-fix (diff) | |
parent | pica: Cleanup lighting register definitions and documentation. (diff) | |
download | yuzu-f1d1049c4fdf51fd382f9afb6b5cd5f104e71b0e.tar yuzu-f1d1049c4fdf51fd382f9afb6b5cd5f104e71b0e.tar.gz yuzu-f1d1049c4fdf51fd382f9afb6b5cd5f104e71b0e.tar.bz2 yuzu-f1d1049c4fdf51fd382f9afb6b5cd5f104e71b0e.tar.lz yuzu-f1d1049c4fdf51fd382f9afb6b5cd5f104e71b0e.tar.xz yuzu-f1d1049c4fdf51fd382f9afb6b5cd5f104e71b0e.tar.zst yuzu-f1d1049c4fdf51fd382f9afb6b5cd5f104e71b0e.zip |
Diffstat (limited to 'src/video_core/shader/shader.h')
-rw-r--r-- | src/video_core/shader/shader.h | 8 |
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 |