Home
last modified time | relevance | path

Searched refs:fullinst (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_scan.c107 const struct tgsi_full_instruction *fullinst, in scan_src_operand() argument
269 assert(fullinst->Instruction.Texture); in scan_src_operand()
273 if (is_texture_inst(fullinst->Instruction.Opcode)) { in scan_src_operand()
274 const unsigned target = fullinst->Texture.Texture; in scan_src_operand()
298 !is_mem_query_inst(fullinst->Instruction.Opcode)) { in scan_src_operand()
301 if (tgsi_get_opcode_info(fullinst->Instruction.Opcode)->is_store) { in scan_src_operand()
334 const struct tgsi_full_instruction *fullinst, in scan_instruction() argument
342 assert(fullinst->Instruction.Opcode < TGSI_OPCODE_LAST); in scan_instruction()
343 info->opcode_count[fullinst->Instruction.Opcode]++; in scan_instruction()
345 switch (fullinst->Instruction.Opcode) { in scan_instruction()
[all …]
Dtgsi_transform.c167 struct tgsi_full_instruction *fullinst in tgsi_transform_shader() local
177 if (fullinst->Instruction.Opcode == TGSI_OPCODE_END in tgsi_transform_shader()
182 ctx->emit_instruction(ctx, fullinst); in tgsi_transform_shader()
186 ctx->transform_instruction(ctx, fullinst); in tgsi_transform_shader()
188 ctx->emit_instruction(ctx, fullinst); in tgsi_transform_shader()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_scan.c97 const struct tgsi_full_instruction *fullinst in tgsi_scan_shader() local
101 assert(fullinst->Instruction.Opcode < TGSI_OPCODE_LAST); in tgsi_scan_shader()
102 info->opcode_count[fullinst->Instruction.Opcode]++; in tgsi_scan_shader()
104 switch (fullinst->Instruction.Opcode) { in tgsi_scan_shader()
119 if (fullinst->Instruction.Opcode == TGSI_OPCODE_INTERP_CENTROID || in tgsi_scan_shader()
120 fullinst->Instruction.Opcode == TGSI_OPCODE_INTERP_OFFSET || in tgsi_scan_shader()
121 fullinst->Instruction.Opcode == TGSI_OPCODE_INTERP_SAMPLE) { in tgsi_scan_shader()
122 const struct tgsi_full_src_register *src0 = &fullinst->Src[0]; in tgsi_scan_shader()
137 switch (fullinst->Instruction.Opcode) { in tgsi_scan_shader()
151 switch (fullinst->Instruction.Opcode) { in tgsi_scan_shader()
[all …]
Dtgsi_transform.c166 struct tgsi_full_instruction *fullinst in tgsi_transform_shader() local
170 ctx->transform_instruction(ctx, fullinst); in tgsi_transform_shader()
172 ctx->emit_instruction(ctx, fullinst); in tgsi_transform_shader()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow.c42 struct rc_instruction * fullinst, in reads_normal_callback() argument
54 cb_data->Cb(cb_data->UserData, fullinst, src->File, in reads_normal_callback()
59 cb_data->Cb(cb_data->UserData, fullinst, RC_FILE_ADDRESS, 0, in reads_normal_callback()
101 static void reads_pair(struct rc_instruction * fullinst, rc_read_write_mask_fn cb, void * userdata) in reads_pair() argument
103 struct rc_pair_instruction * inst = &fullinst->U.P; in reads_pair()
124 cb(userdata, fullinst, inst->RGB.Src[src].File, inst->RGB.Src[src].Index, in reads_pair()
128 cb(userdata, fullinst, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, RC_MASK_W); in reads_pair()
133 struct rc_instruction * fullinst, in pair_sub_for_all_args() argument
156 presub_type = fullinst-> in pair_sub_for_all_args()
158 src_array = fullinst->U.P.RGB.Src; in pair_sub_for_all_args()
[all …]
Dradeon_program_print.c341 static void rc_print_pair_instruction(FILE * f, struct rc_instruction * fullinst, unsigned *branch_… in rc_print_pair_instruction() argument
343 struct rc_pair_instruction * inst = &fullinst->U.P; in rc_print_pair_instruction()