Searched refs:src_idx (Results 1 – 11 of 11) sorted by relevance
71 unsigned src_idx; in rc_inline_literals() local81 for (src_idx = 0; src_idx < info->NumSrcRegs; src_idx++) { in rc_inline_literals()87 &inst->U.I.SrcReg[src_idx]; in rc_inline_literals()
52 unsigned int src_idx,
326 unsigned src_idx; in calc_score_r300() local340 for (src_idx = 0; src_idx < 4; src_idx++) { in calc_score_r300()341 sinst->Score += sinst->Instruction->U.P.RGB.Src[src_idx].Used + in calc_score_r300()342 sinst->Instruction->U.P.Alpha.Src[src_idx].Used; in calc_score_r300()
314 unsigned int src_idx, in rc_src_reads_dst_mask() argument320 if (src_file != dst_file || src_idx != dst_idx) { in rc_src_reads_dst_mask()
173 unsigned src_idx) in tgsi_util_get_inst_usage_mask() argument175 const struct tgsi_full_src_register *src = &inst->Src[src_idx]; in tgsi_util_get_inst_usage_mask()240 read_mask = src_idx == 2 ? TGSI_WRITEMASK_X : TGSI_WRITEMASK_XY; in tgsi_util_get_inst_usage_mask()256 read_mask = src_idx == 0 ? TGSI_WRITEMASK_XYZ : TGSI_WRITEMASK_XYZW; in tgsi_util_get_inst_usage_mask()264 if (src_idx == 0) { in tgsi_util_get_inst_usage_mask()
77 unsigned src_idx);
26 #define VGPR_BIT(src_idx) (1ULL << (9 * src_idx - 1)) argument
273 unsigned bytes_read, struct r600_bytecode_alu * alu, unsigned src_idx) in r600_src_from_byte_stream() argument279 alu->src[src_idx].sel = sel0 | (sel1 << 8); in r600_src_from_byte_stream()280 alu->src[src_idx].chan = bytes[bytes_read++]; in r600_src_from_byte_stream()281 alu->src[src_idx].neg = bytes[bytes_read++]; in r600_src_from_byte_stream()282 alu->src[src_idx].abs = bytes[bytes_read++]; in r600_src_from_byte_stream()283 alu->src[src_idx].rel = bytes[bytes_read++]; in r600_src_from_byte_stream()284 alu->src[src_idx].kc_bank = bytes[bytes_read++]; in r600_src_from_byte_stream()286 alu->src[src_idx].value |= bytes[bytes_read++] << (i * 8); in r600_src_from_byte_stream()294 unsigned src_idx; in r600_alu_from_byte_stream() local299 for(src_idx = 0; src_idx < 3; src_idx++) { in r600_alu_from_byte_stream()[all …]
1715 uint16_t src_idx = roots[--n_roots]; in depmod_calculate_dependencies() local1717 src = depmod->modules.array[src_idx]; in depmod_calculate_dependencies()1719 sorted[n_sorted] = src_idx; in depmod_calculate_dependencies()
1881 int src_idx = 0, dst_idx = 0; in cvTransform() local1887 int src_len = src_block->count - src_idx; in cvTransform()1889 const void* srcptr = src_block->data + src_idx*src_elem_size; in cvTransform()1908 if( (src_idx += src_len) == src_block->count ) in cvTransform()1909 src_block = src_block->next, src_idx = 0; in cvTransform()
580 const int src_idx = 4 * (blk_row * src_stride + blk_col); in dist_block() local582 const uint8_t *src = &p->src.buf[src_idx]; in dist_block()