summaryrefslogtreecommitdiffstats
path: root/src/video_core/pica.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-03-24 04:27:37 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2016-03-24 04:27:37 +0100
commita950188c11b435970f39ac569b2fcc5dc2df05d9 (patch)
tree2cb817907fa458c63b81c031f45fd5481b91b1da /src/video_core/pica.h
parentMerge pull request #1517 from Lectem/fixSDLcmake (diff)
parentPica: Improve accuracy of immediate-mode support (diff)
downloadyuzu-a950188c11b435970f39ac569b2fcc5dc2df05d9.tar
yuzu-a950188c11b435970f39ac569b2fcc5dc2df05d9.tar.gz
yuzu-a950188c11b435970f39ac569b2fcc5dc2df05d9.tar.bz2
yuzu-a950188c11b435970f39ac569b2fcc5dc2df05d9.tar.lz
yuzu-a950188c11b435970f39ac569b2fcc5dc2df05d9.tar.xz
yuzu-a950188c11b435970f39ac569b2fcc5dc2df05d9.tar.zst
yuzu-a950188c11b435970f39ac569b2fcc5dc2df05d9.zip
Diffstat (limited to 'src/video_core/pica.h')
-rw-r--r--src/video_core/pica.h7
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;