Lines Matching refs:writemask
80 this->swizzle = brw_swizzle_for_mask(reg.writemask);
89 this->writemask = WRITEMASK_XYZW;
106 unsigned writemask)
113 this->writemask = writemask;
117 unsigned writemask)
124 this->writemask = writemask;
137 this->writemask = brw_mask_for_swizzle(reg.swizzle);
406 unsigned writemask = 0;
414 * writemask. Skip type-conversion MOVs other than integer 0,
421 inst->dst.writemask != WRITEMASK_XYZW &&
450 mov->dst.writemask = writemask;
462 writemask = 0;
472 if ((inst->dst.writemask & WRITEMASK_X) != 0)
474 if ((inst->dst.writemask & WRITEMASK_Y) != 0)
476 if ((inst->dst.writemask & WRITEMASK_Z) != 0)
478 if ((inst->dst.writemask & WRITEMASK_W) != 0)
481 writemask |= inst->dst.writemask;
554 swizzle = brw_swizzle_for_mask(inst->dst.writemask);
820 !(inst->dst.writemask & grf_channels_written[reg])) {
828 grf_channels_written[reg] |= inst->dst.writemask;
832 !(inst->dst.writemask & mrf_channels_written[reg])) {
840 mrf_channels_written[reg] |= inst->dst.writemask;
877 if (dst.writemask & ~swizzle_mask)
937 /* Apply the specified swizzle and writemask to the original mask of
940 dst.writemask = dst_writemask &
941 brw_apply_swizzle_to_mask(swizzle, dst.writemask);
975 if ((inst->dst.writemask & (1 << c)) == 0)
1006 inst->dst.writemask);
1071 if (!scan_inst->can_reswizzle(devinfo, inst->dst.writemask,
1088 chans_remaining &= ~scan_inst->dst.writemask;
1113 (inst->dst.writemask & scan_inst->dst.writemask) != 0) {
1150 scan_inst->reswizzle(inst->dst.writemask,
1384 if (inst->dst.writemask != WRITEMASK_XYZW) {
1386 if (inst->dst.writemask & 1)
1388 if (inst->dst.writemask & 2)
1390 if (inst->dst.writemask & 4)
1392 if (inst->dst.writemask & 8)
1815 reg.writemask = dst.writemask;
1822 reg.writemask = dst.writemask;
2054 scalarize_predicate(brw_predicate predicate, unsigned writemask)
2059 switch (writemask) {
2069 unreachable("invalid writemask");
2163 if (inst->dst.writemask == WRITEMASK_XY ||
2164 inst->dst.writemask == WRITEMASK_ZW) {
2180 if (!(inst->dst.writemask & chan_mask))
2190 scalar_inst->dst.writemask = chan_mask;