Lines Matching refs:inst

549    struct tgsi_full_instruction *inst )
553 const struct tgsi_opcode_info *info = tgsi_get_opcode_info( inst->Instruction.Opcode );
565 TXT( tgsi_get_opcode_name(inst->Instruction.Opcode) );
567 if (inst->Instruction.Saturate) {
571 if (inst->Instruction.Precise) {
575 for (i = 0; i < inst->Instruction.NumDstRegs; i++) {
576 const struct tgsi_full_dst_register *dst = &inst->Dst[i];
588 for (i = 0; i < inst->Instruction.NumSrcRegs; i++) {
589 const struct tgsi_full_src_register *src = &inst->Src[i];
619 if (inst->Instruction.Texture) {
620 if (!(inst->Instruction.Opcode >= TGSI_OPCODE_SAMPLE &&
621 inst->Instruction.Opcode <= TGSI_OPCODE_GATHER4)) {
623 ENM( inst->Texture.Texture, tgsi_texture_names );
625 for (i = 0; i < inst->Texture.NumOffsets; i++) {
627 TXT(tgsi_file_name(inst->TexOffsets[i].File));
629 SID( inst->TexOffsets[i].Index );
632 ENM( inst->TexOffsets[i].SwizzleX, tgsi_swizzle_names);
633 ENM( inst->TexOffsets[i].SwizzleY, tgsi_swizzle_names);
634 ENM( inst->TexOffsets[i].SwizzleZ, tgsi_swizzle_names);
638 if (inst->Instruction.Memory) {
639 uint32_t qualifier = inst->Memory.Qualifier;
646 if (inst->Memory.Texture) {
648 ENM( inst->Memory.Texture, tgsi_texture_names );
650 if (inst->Memory.Format) {
652 TXT( util_format_name(inst->Memory.Format) );
656 if (inst->Instruction.Label) {
657 switch (inst->Instruction.Opcode) {
666 UID( inst->Label.Label );
672 if (inst->Instruction.Opcode == TGSI_OPCODE_IF ||
673 inst->Instruction.Opcode == TGSI_OPCODE_UIF ||
674 inst->Instruction.Opcode == TGSI_OPCODE_ELSE ||
675 inst->Instruction.Opcode == TGSI_OPCODE_BGNLOOP) {
686 const struct tgsi_full_instruction *inst,
699 iter_instruction( &ctx.iter, (struct tgsi_full_instruction *)inst );
809 const struct tgsi_full_instruction *inst,
830 iter_instruction( &ctx.base.iter, (struct tgsi_full_instruction *)inst );