tgsi: added tgsi_full_instruction::Flags field

Users of the parser can make use of this.
This commit is contained in:
Brian Paul
2009-08-20 10:25:42 -06:00
parent 0f0a9e3ee7
commit fffcecc4d9
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -482,6 +482,8 @@ tgsi_default_full_instruction( void )
full_instruction.FullSrcRegisters[i] = tgsi_default_full_src_register();
}
full_instruction.Flags = 0x0;
return full_instruction;
}
+1
View File
@@ -87,6 +87,7 @@ struct tgsi_full_instruction
struct tgsi_instruction_ext_texture InstructionExtTexture;
struct tgsi_full_dst_register FullDstRegisters[TGSI_FULL_MAX_DST_REGISTERS];
struct tgsi_full_src_register FullSrcRegisters[TGSI_FULL_MAX_SRC_REGISTERS];
uint Flags; /**< user-defined usage */
};
union tgsi_full_token