To avoid problems with MSVC. And verify size with ASSERT_BITFIELD_SIZE().
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
static boolean firsttime = 1;
ASSERT_BITFIELD_SIZE(struct tgsi_opcode_info, opcode, TGSI_OPCODE_LAST - 1);
+ ASSERT_BITFIELD_SIZE(struct tgsi_opcode_info, output_mode,
+ TGSI_OUTPUT_OTHER);
if (firsttime) {
unsigned i;
unsigned is_branch:1;
unsigned pre_dedent:1;
unsigned post_indent:1;
- enum tgsi_output_mode output_mode:3;
+ enum tgsi_output_mode output_mode:4;
unsigned opcode:8;
};