Lines Matching refs:bracket
689 struct parsed_dcl_bracket *bracket) in parse_register_dcl_bracket() argument
692 memset(bracket, 0, sizeof(struct parsed_dcl_bracket)); in parse_register_dcl_bracket()
700 bracket->first = 0; in parse_register_dcl_bracket()
701 bracket->last = ctx->implied_array_size - 1; in parse_register_dcl_bracket()
707 bracket->first = uindex; in parse_register_dcl_bracket()
720 bracket->last = (int) uindex; in parse_register_dcl_bracket()
724 bracket->last = bracket->first; in parse_register_dcl_bracket()
814 struct parsed_bracket bracket[2]; in parse_dst_operand() local
817 if (!parse_register_dst( ctx, &file, &bracket[0] )) in parse_dst_operand()
819 if (!parse_opt_register_src_bracket(ctx, &bracket[1], &parsed_opt_brackets)) in parse_dst_operand()
833 dst->Dimension.Index = bracket[0].index; in parse_dst_operand()
835 if (bracket[0].ind_file != TGSI_FILE_NULL) { in parse_dst_operand()
837 dst->DimIndirect.File = bracket[0].ind_file; in parse_dst_operand()
838 dst->DimIndirect.Index = bracket[0].ind_index; in parse_dst_operand()
839 dst->DimIndirect.Swizzle = bracket[0].ind_comp; in parse_dst_operand()
840 dst->DimIndirect.ArrayID = bracket[0].ind_array; in parse_dst_operand()
842 bracket[0] = bracket[1]; in parse_dst_operand()
844 dst->Register.Index = bracket[0].index; in parse_dst_operand()
846 if (bracket[0].ind_file != TGSI_FILE_NULL) { in parse_dst_operand()
848 dst->Indirect.File = bracket[0].ind_file; in parse_dst_operand()
849 dst->Indirect.Index = bracket[0].ind_index; in parse_dst_operand()
850 dst->Indirect.Swizzle = bracket[0].ind_comp; in parse_dst_operand()
851 dst->Indirect.ArrayID = bracket[0].ind_array; in parse_dst_operand()
902 struct parsed_bracket bracket[2]; in parse_src_operand() local
917 if (!parse_register_src(ctx, &file, &bracket[0])) in parse_src_operand()
919 if (!parse_opt_register_src_bracket(ctx, &bracket[1], &parsed_opt_brackets)) in parse_src_operand()
927 src->Dimension.Index = bracket[0].index; in parse_src_operand()
928 if (bracket[0].ind_file != TGSI_FILE_NULL) { in parse_src_operand()
930 src->DimIndirect.File = bracket[0].ind_file; in parse_src_operand()
931 src->DimIndirect.Index = bracket[0].ind_index; in parse_src_operand()
932 src->DimIndirect.Swizzle = bracket[0].ind_comp; in parse_src_operand()
933 src->DimIndirect.ArrayID = bracket[0].ind_array; in parse_src_operand()
935 bracket[0] = bracket[1]; in parse_src_operand()
937 src->Register.Index = bracket[0].index; in parse_src_operand()
938 if (bracket[0].ind_file != TGSI_FILE_NULL) { in parse_src_operand()
940 src->Indirect.File = bracket[0].ind_file; in parse_src_operand()
941 src->Indirect.Index = bracket[0].ind_index; in parse_src_operand()
942 src->Indirect.Swizzle = bracket[0].ind_comp; in parse_src_operand()
943 src->Indirect.ArrayID = bracket[0].ind_array; in parse_src_operand()
978 struct parsed_bracket bracket; in parse_texoffset_operand() local
980 if (!parse_register_src(ctx, &file, &bracket)) in parse_texoffset_operand()
984 src->Index = bracket.index; in parse_texoffset_operand()