Lines Matching refs:present
1410 pan_varying_index(unsigned present, enum pan_special_varying v) in pan_varying_index() argument
1413 return util_bitcount(present & mask); in pan_varying_index()
1421 pan_xfb_base(unsigned present) in pan_xfb_base() argument
1423 return util_bitcount(present); in pan_xfb_base()
1438 unsigned present = (1 << PAN_VARY_GENERAL) | (1 << PAN_VARY_POSITION); in pan_varying_present() local
1443 present |= (1 << PAN_VARY_PSIZ); in pan_varying_present()
1446 present |= (1 << PAN_VARY_PNTCOORD); in pan_varying_present()
1449 present |= (1 << PAN_VARY_FACE); in pan_varying_present()
1452 present |= (1 << PAN_VARY_FRAGCOORD); in pan_varying_present()
1460 present |= (1 << PAN_VARY_PNTCOORD); in pan_varying_present()
1463 return present; in pan_varying_present()
1470 unsigned present, enum pan_special_varying buf, in pan_emit_vary() argument
1480 cfg.buffer_index = pan_varying_index(present, buf); in pan_emit_vary()
1491 unsigned present, unsigned quirks) in pan_emit_vary_only() argument
1493 pan_emit_vary(out, present, 0, quirks, MALI_CONSTANT, 0); in pan_emit_vary_only()
1508 unsigned present, enum pan_special_varying buf, in pan_emit_vary_special() argument
1512 pan_emit_vary(out, present, buf, quirks, pan_varying_formats[buf], 0); in pan_emit_vary_special()
1530 unsigned present, in pan_emit_vary_xfb() argument
1543 cfg.buffer_index = pan_xfb_base(present) + o.output_buffer; in pan_emit_vary_xfb()
1576 unsigned present, in pan_emit_general_varying() argument
1595 pan_emit_vary_only(out, present, quirks); in pan_emit_general_varying()
1629 pan_emit_vary(out, present, PAN_VARY_GENERAL, quirks, format, offset); in pan_emit_general_varying()
1641 unsigned present, in panfrost_emit_varying() argument
1661 pan_emit_vary_special(out, present, PAN_VARY_PNTCOORD, quirks); in panfrost_emit_varying()
1664 pan_emit_vary_xfb(out, present, max_xfb, streamout_offsets, quirks, format, *o); in panfrost_emit_varying()
1667 pan_emit_vary_special(out, present, PAN_VARY_FRAGCOORD, quirks); in panfrost_emit_varying()
1669 pan_emit_vary_special(out, present, PAN_VARY_POSITION, quirks); in panfrost_emit_varying()
1671 pan_emit_vary_special(out, present, PAN_VARY_PSIZ, quirks); in panfrost_emit_varying()
1673 pan_emit_vary_special(out, present, PAN_VARY_PNTCOORD, quirks); in panfrost_emit_varying()
1675 pan_emit_vary_special(out, present, PAN_VARY_FACE, quirks); in panfrost_emit_varying()
1677 pan_emit_general_varying(out, other, xfb, loc, format, present, in panfrost_emit_varying()
1685 unsigned present, in pan_emit_special_input() argument
1689 if (present & (1 << v)) { in pan_emit_special_input()
1690 unsigned idx = pan_varying_index(present, v); in pan_emit_special_input()
1731 unsigned present = pan_varying_present(vs, fs, dev->quirks, point_coord_mask); in panfrost_emit_varying_descriptor() local
1759 panfrost_emit_varying(ovs + i, vs, fs, vs, present, 0, in panfrost_emit_varying_descriptor()
1766 panfrost_emit_varying(ofs + i, fs, vs, vs, present, point_coord_mask, in panfrost_emit_varying_descriptor()
1772 unsigned xfb_base = pan_xfb_base(present); in panfrost_emit_varying_descriptor()
1795 &varyings[pan_varying_index(present, PAN_VARY_GENERAL)], in panfrost_emit_varying_descriptor()
1800 &varyings[pan_varying_index(present, PAN_VARY_POSITION)], in panfrost_emit_varying_descriptor()
1803 if (present & (1 << PAN_VARY_PSIZ)) { in panfrost_emit_varying_descriptor()
1805 &varyings[pan_varying_index(present, PAN_VARY_PSIZ)], in panfrost_emit_varying_descriptor()
1809 … pan_emit_special_input(varyings, present, PAN_VARY_PNTCOORD, MALI_ATTRIBUTE_SPECIAL_POINT_COORD); in panfrost_emit_varying_descriptor()
1810 … pan_emit_special_input(varyings, present, PAN_VARY_FACE, MALI_ATTRIBUTE_SPECIAL_FRONT_FACING); in panfrost_emit_varying_descriptor()
1811 … pan_emit_special_input(varyings, present, PAN_VARY_FRAGCOORD, MALI_ATTRIBUTE_SPECIAL_FRAG_COORD); in panfrost_emit_varying_descriptor()