struct lp_build_tgsi_inst_list
{
struct tgsi_full_instruction *instructions;
- uint max_instructions;
- uint num_instructions;
+ unsigned max_instructions;
+ unsigned num_instructions;
};
unsigned lp_bld_tgsi_list_init(struct lp_build_tgsi_context * bld_base);
int pc;
struct tgsi_full_instruction *instructions;
- uint max_instructions;
- uint num_instructions;
+ unsigned max_instructions;
+ unsigned num_instructions;
/** This function allows the user to insert some instructions at the
* beginning of the program. It is optional and does not need to be
struct lp_build_mask_context *mask;
struct lp_exec_mask exec_mask;
- uint num_immediates;
+ unsigned num_immediates;
bool use_immediates_array;
};
{
struct lp_build_tgsi_aos_context bld;
struct tgsi_parse_context parse;
- uint num_immediates = 0;
+ unsigned num_immediates = 0;
unsigned chan;
int pc = 0;
case TGSI_TOKEN_TYPE_IMMEDIATE:
/* simply copy the immediate values into the next immediates[] slot */
{
- const uint size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1;
+ const unsigned size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1;
float imm[4];
assert(size <= 4);
assert(num_immediates < LP_MAX_INLINED_IMMEDIATES);
struct gallivm_state * gallivm = bld_base->base.gallivm;
LLVMValueRef imms[4];
unsigned i;
- const uint size = imm->Immediate.NrTokens - 1;
+ const unsigned size = imm->Immediate.NrTokens - 1;
assert(size <= 4);
switch (imm->Immediate.DataType) {
case TGSI_IMM_FLOAT32:
* were forgetting so we're using MAX_VERTEX_VARYING from
* that spec even though we could assert if it's not
* set, but that's a lot uglier. */
- uint max_output_vertices;
+ unsigned max_output_vertices;
/* inputs are always indirect with gs */
bld.indirect_files |= (1 << TGSI_FILE_INPUT);