Lines Matching defs:swizzle

382 print_vec_selectors_64(FILE *fp, unsigned swizzle,
394 unsigned a = (swizzle >> (i * 2)) & 3;
404 unsigned b = (swizzle >> ((i+1) * 2)) & 3;
417 print_vec_selectors(FILE *fp, unsigned swizzle,
431 unsigned c = (swizzle >> (i * 2)) & 3;
433 /* Vec16 has two components per swizzle selector. */
446 print_vec_swizzle(FILE *fp, unsigned swizzle,
461 if (swizzle == 0xE4) return; /* identity swizzle */
506 print_vec_selectors_64(fp, swizzle, mode, expand, first_half, mask);
511 print_vec_selectors(fp, swizzle, mode, first_half, mask, &mask_offs);
513 print_vec_selectors(fp, swizzle, mode, second_half, mask, &mask_offs);
558 unsigned c = (src->swizzle >> (i * 2)) & 3;
587 unsigned base = (src->swizzle >> (index * 2)) & 3;
656 print_vec_swizzle(fp, src->swizzle, src->expand_mode, mode, src_mask);
757 print_ldst_mask(FILE *fp, unsigned mask, unsigned swizzle) {
762 unsigned c = (swizzle >> (i * 2)) & 3;
763 /* We can't omit the swizzle here since many ldst ops have a
764 * combined swizzle/writemask, and it would be ambiguous to not
1386 * instead the swizzle is applied before the result is written
1388 * with the swizzle to display them in the disasm compactly. */
1389 unsigned swizzle = word->swizzle;
1393 swizzle = 0xE4;
1394 print_ldst_mask(fp, word->mask, swizzle);
1403 print_vec_swizzle(fp, word->swizzle, midgard_src_passthrough,
1460 print_vec_swizzle(fp, word->swizzle, midgard_src_passthrough,
1464 /* atomic ops encode the source arg where the ldst swizzle would be. */
1466 unsigned src = (word->swizzle >> 2) & 0x7;
1467 unsigned src_comp = word->swizzle & 0x3;
1786 print_vec_swizzle(fp, texture->swizzle, midgard_src_passthrough, midgard_reg_mode_32, 0xFF);
1813 unsigned swizzle = texture->offset >> 3;
1818 print_vec_swizzle(fp, swizzle, exp, midgard_reg_mode_32, 0xFF);