Pica: Improve accuracy of immediate-mode support

This partially fixes Etrian Odyssey IV.
This commit is contained in:
Yuri Kunde Schlesner 2016-03-05 14:49:23 -08:00
parent 0c447e0a06
commit 81004211dd
5 changed files with 56 additions and 29 deletions

View file

@ -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;