Lines Matching refs:fullinst
97 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()
166 if (fullinst->Instruction.Opcode >= TGSI_OPCODE_F2D && in tgsi_scan_shader()
167 fullinst->Instruction.Opcode <= TGSI_OPCODE_DSSG) in tgsi_scan_shader()
170 for (i = 0; i < fullinst->Instruction.NumSrcRegs; i++) { in tgsi_scan_shader()
172 &fullinst->Src[i]; in tgsi_scan_shader()
178 usage_mask = tgsi_util_get_inst_usage_mask(fullinst, i); in tgsi_scan_shader()
211 assert(fullinst->Instruction.Texture); in tgsi_scan_shader()
214 if (fullinst->Instruction.Texture && in tgsi_scan_shader()
215 (fullinst->Texture.Texture == TGSI_TEXTURE_2D_MSAA || in tgsi_scan_shader()
216 fullinst->Texture.Texture == TGSI_TEXTURE_2D_ARRAY_MSAA)) { in tgsi_scan_shader()
223 for (i = 0; i < fullinst->Instruction.NumDstRegs; i++) { in tgsi_scan_shader()
224 const struct tgsi_full_dst_register *dst = &fullinst->Dst[i]; in tgsi_scan_shader()
506 struct tgsi_full_instruction *fullinst = in tgsi_is_passthrough_shader() local
509 &fullinst->Src[0]; in tgsi_is_passthrough_shader()
511 &fullinst->Dst[0]; in tgsi_is_passthrough_shader()
514 if (fullinst->Instruction.Opcode != TGSI_OPCODE_MOV || in tgsi_is_passthrough_shader()