Lines Matching refs:brackets
544 struct parsed_bracket *brackets) in parse_register_bracket() argument
549 memset(brackets, 0, sizeof(struct parsed_bracket)); in parse_register_bracket()
554 if (parse_file( &cur, &brackets->ind_file )) { in parse_register_bracket()
555 if (!parse_register_1d( ctx, &brackets->ind_file, in parse_register_bracket()
556 &brackets->ind_index )) in parse_register_bracket()
566 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_bracket()
569 brackets->ind_comp = TGSI_SWIZZLE_Y; in parse_register_bracket()
572 brackets->ind_comp = TGSI_SWIZZLE_Z; in parse_register_bracket()
575 brackets->ind_comp = TGSI_SWIZZLE_W; in parse_register_bracket()
586 parse_int( &ctx->cur, &brackets->index ); in parse_register_bracket()
588 brackets->index = 0; in parse_register_bracket()
595 brackets->index = (int) uindex; in parse_register_bracket()
596 brackets->ind_file = TGSI_FILE_NULL; in parse_register_bracket()
597 brackets->ind_index = 0; in parse_register_bracket()
608 if (!parse_uint( &ctx->cur, &brackets->ind_array )) { in parse_register_bracket()
625 struct parsed_bracket *brackets, in parse_opt_register_src_bracket() argument
637 if (!parse_register_bracket(ctx, brackets)) in parse_opt_register_src_bracket()
657 struct parsed_bracket *brackets) in parse_register_src() argument
659 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_src()
662 if (!parse_register_bracket( ctx, brackets )) in parse_register_src()
731 struct parsed_dcl_bracket *brackets, in parse_register_dcl() argument
740 if (!parse_register_dcl_bracket( ctx, &brackets[0] )) in parse_register_dcl()
754 if (!parse_register_dcl_bracket( ctx, &brackets[1] )) in parse_register_dcl()
766 brackets[0] = brackets[1]; in parse_register_dcl()
782 struct parsed_bracket *brackets) in parse_register_dst() argument
784 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_dst()
787 if (!parse_register_bracket( ctx, brackets )) in parse_register_dst()
1262 struct parsed_dcl_bracket brackets[2]; in parse_declaration() local
1273 if (!parse_register_dcl( ctx, &file, brackets, &num_brackets)) in parse_declaration()
1283 decl.Range.First = brackets[0].first; in parse_declaration()
1284 decl.Range.Last = brackets[0].last; in parse_declaration()
1286 decl.Range.First = brackets[1].first; in parse_declaration()
1287 decl.Range.Last = brackets[1].last; in parse_declaration()
1290 decl.Dim.Index2D = brackets[0].first; in parse_declaration()