Lines Matching refs:src
332 const fs_reg *src, unsigned sources);
347 const fs_reg src[], unsigned sources);
384 fs_reg *src;
456 * fully or partially) counted from 'floor(reg_offset(inst->src[i]) /
463 if (inst->src[i].file == IMM)
466 const unsigned reg_size = inst->src[i].file == UNIFORM ? 4 : REG_SIZE;
467 return DIV_ROUND_UP(reg_offset(inst->src[i]) % reg_size +
469 MIN2(inst->size_read(i), reg_padding(inst->src[i])),
479 if (inst->src[i].file != BAD_FILE &&
481 const brw_reg_type t = get_exec_type(inst->src[i].type);
567 MIN2(type_sz(inst->src[0].type), type_sz(inst->src[1].type)) >= 4) ||
569 MIN2(type_sz(inst->src[1].type), type_sz(inst->src[2].type)) >= 4));
609 if (inst->src[i].file != file ||
610 inst->src[i].abs || inst->src[i].negate)
613 if (!inst->src[i].is_contiguous())
617 inst->src[i], inst->size_read(i)))
632 fs_reg reg = inst->src[0];
635 reg.type = inst->src[i].type;
636 if (!inst->src[i].equals(reg))
662 if (inst->src[i].nr != inst->src[0].nr)
686 inst->src[0].offset == 0 &&
687 alloc.sizes[inst->src[0].nr] * REG_SIZE == inst->size_written;