diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-03-05 23:49:23 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-03-24 04:18:40 +0100 |
commit | 81004211dda74390c02973c37e89215f5ff8829b (patch) | |
tree | 2cb817907fa458c63b81c031f45fd5481b91b1da /src/video_core/pica.h | |
parent | OpenGL: Don't attempt to draw empty triangle batches (diff) | |
download | yuzu-81004211dda74390c02973c37e89215f5ff8829b.tar yuzu-81004211dda74390c02973c37e89215f5ff8829b.tar.gz yuzu-81004211dda74390c02973c37e89215f5ff8829b.tar.bz2 yuzu-81004211dda74390c02973c37e89215f5ff8829b.tar.lz yuzu-81004211dda74390c02973c37e89215f5ff8829b.tar.xz yuzu-81004211dda74390c02973c37e89215f5ff8829b.tar.zst yuzu-81004211dda74390c02973c37e89215f5ff8829b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/pica.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h index 4b783ac6b..16f9e4006 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -1123,7 +1123,12 @@ struct Regs { BitField<24, 8, u32> w; } int_uniforms[4]; - INSERT_PADDING_WORDS(0x5); + INSERT_PADDING_WORDS(0x4); + + union { + // Number of input attributes to shader unit - 1 + BitField<0, 4, u32> num_input_attributes; + }; // Offset to shader program entry point (in words) BitField<0, 16, u32> main_offset; |