Lines Matching refs:bracket
567 struct parsed_dcl_bracket *bracket) in parse_register_dcl_bracket() argument
570 memset(bracket, 0, sizeof(struct parsed_dcl_bracket)); in parse_register_dcl_bracket()
578 bracket->first = 0; in parse_register_dcl_bracket()
579 bracket->last = ctx->implied_array_size - 1; in parse_register_dcl_bracket()
585 bracket->first = uindex; in parse_register_dcl_bracket()
598 bracket->last = (int) uindex; in parse_register_dcl_bracket()
602 bracket->last = bracket->first; in parse_register_dcl_bracket()
685 struct parsed_bracket bracket[2]; in parse_dst_operand() local
688 if (!parse_register_dst( ctx, &file, &bracket[0] )) in parse_dst_operand()
690 if (!parse_opt_register_src_bracket(ctx, &bracket[1], &parsed_opt_brackets)) in parse_dst_operand()
704 dst->Dimension.Index = bracket[0].index; in parse_dst_operand()
705 bracket[0] = bracket[1]; in parse_dst_operand()
707 dst->Register.Index = bracket[0].index; in parse_dst_operand()
709 if (bracket[0].ind_file != TGSI_FILE_NULL) { in parse_dst_operand()
711 dst->Indirect.File = bracket[0].ind_file; in parse_dst_operand()
712 dst->Indirect.Index = bracket[0].ind_index; in parse_dst_operand()
713 dst->Indirect.SwizzleX = bracket[0].ind_comp; in parse_dst_operand()
714 dst->Indirect.SwizzleY = bracket[0].ind_comp; in parse_dst_operand()
715 dst->Indirect.SwizzleZ = bracket[0].ind_comp; in parse_dst_operand()
716 dst->Indirect.SwizzleW = bracket[0].ind_comp; in parse_dst_operand()
766 struct parsed_bracket bracket[2]; in parse_src_operand() local
781 if (!parse_register_src(ctx, &file, &bracket[0])) in parse_src_operand()
783 if (!parse_opt_register_src_bracket(ctx, &bracket[1], &parsed_opt_brackets)) in parse_src_operand()
791 src->Dimension.Index = bracket[0].index; in parse_src_operand()
792 bracket[0] = bracket[1]; in parse_src_operand()
794 src->Register.Index = bracket[0].index; in parse_src_operand()
795 if (bracket[0].ind_file != TGSI_FILE_NULL) { in parse_src_operand()
797 src->Indirect.File = bracket[0].ind_file; in parse_src_operand()
798 src->Indirect.Index = bracket[0].ind_index; in parse_src_operand()
799 src->Indirect.SwizzleX = bracket[0].ind_comp; in parse_src_operand()
800 src->Indirect.SwizzleY = bracket[0].ind_comp; in parse_src_operand()
801 src->Indirect.SwizzleZ = bracket[0].ind_comp; in parse_src_operand()
802 src->Indirect.SwizzleW = bracket[0].ind_comp; in parse_src_operand()