Lines Matching refs:bracket
676 struct parsed_dcl_bracket *bracket) in parse_register_dcl_bracket() argument
679 memset(bracket, 0, sizeof(struct parsed_dcl_bracket)); in parse_register_dcl_bracket()
687 bracket->first = 0; in parse_register_dcl_bracket()
688 bracket->last = ctx->implied_array_size - 1; in parse_register_dcl_bracket()
694 bracket->first = uindex; in parse_register_dcl_bracket()
707 bracket->last = (int) uindex; in parse_register_dcl_bracket()
711 bracket->last = bracket->first; in parse_register_dcl_bracket()
801 struct parsed_bracket bracket[2]; in parse_dst_operand() local
804 if (!parse_register_dst( ctx, &file, &bracket[0] )) in parse_dst_operand()
806 if (!parse_opt_register_src_bracket(ctx, &bracket[1], &parsed_opt_brackets)) in parse_dst_operand()
820 dst->Dimension.Index = bracket[0].index; in parse_dst_operand()
822 if (bracket[0].ind_file != TGSI_FILE_NULL) { in parse_dst_operand()
824 dst->DimIndirect.File = bracket[0].ind_file; in parse_dst_operand()
825 dst->DimIndirect.Index = bracket[0].ind_index; in parse_dst_operand()
826 dst->DimIndirect.Swizzle = bracket[0].ind_comp; in parse_dst_operand()
827 dst->DimIndirect.ArrayID = bracket[0].ind_array; in parse_dst_operand()
829 bracket[0] = bracket[1]; in parse_dst_operand()
831 dst->Register.Index = bracket[0].index; in parse_dst_operand()
833 if (bracket[0].ind_file != TGSI_FILE_NULL) { in parse_dst_operand()
835 dst->Indirect.File = bracket[0].ind_file; in parse_dst_operand()
836 dst->Indirect.Index = bracket[0].ind_index; in parse_dst_operand()
837 dst->Indirect.Swizzle = bracket[0].ind_comp; in parse_dst_operand()
838 dst->Indirect.ArrayID = bracket[0].ind_array; in parse_dst_operand()
889 struct parsed_bracket bracket[2]; in parse_src_operand() local
904 if (!parse_register_src(ctx, &file, &bracket[0])) in parse_src_operand()
906 if (!parse_opt_register_src_bracket(ctx, &bracket[1], &parsed_opt_brackets)) in parse_src_operand()
914 src->Dimension.Index = bracket[0].index; in parse_src_operand()
915 if (bracket[0].ind_file != TGSI_FILE_NULL) { in parse_src_operand()
917 src->DimIndirect.File = bracket[0].ind_file; in parse_src_operand()
918 src->DimIndirect.Index = bracket[0].ind_index; in parse_src_operand()
919 src->DimIndirect.Swizzle = bracket[0].ind_comp; in parse_src_operand()
920 src->DimIndirect.ArrayID = bracket[0].ind_array; in parse_src_operand()
922 bracket[0] = bracket[1]; in parse_src_operand()
924 src->Register.Index = bracket[0].index; in parse_src_operand()
925 if (bracket[0].ind_file != TGSI_FILE_NULL) { in parse_src_operand()
927 src->Indirect.File = bracket[0].ind_file; in parse_src_operand()
928 src->Indirect.Index = bracket[0].ind_index; in parse_src_operand()
929 src->Indirect.Swizzle = bracket[0].ind_comp; in parse_src_operand()
930 src->Indirect.ArrayID = bracket[0].ind_array; in parse_src_operand()
965 struct parsed_bracket bracket; in parse_texoffset_operand() local
967 if (!parse_register_src(ctx, &file, &bracket)) in parse_texoffset_operand()
971 src->Index = bracket.index; in parse_texoffset_operand()