Home
last modified time | relevance | path

Searched refs:BRW_GET_SWZ (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_cmod_propagation.cpp206 src0_chan = BRW_GET_SWZ(scan_inst->src[0].swizzle, 0); in opt_cmod_propagation_local()
207 src1_chan = BRW_GET_SWZ(scan_inst->src[1].swizzle, 0); in opt_cmod_propagation_local()
210 src0_chan = BRW_GET_SWZ(scan_inst->src[0].swizzle, 1); in opt_cmod_propagation_local()
211 src1_chan = BRW_GET_SWZ(scan_inst->src[1].swizzle, 1); in opt_cmod_propagation_local()
214 src0_chan = BRW_GET_SWZ(scan_inst->src[0].swizzle, 2); in opt_cmod_propagation_local()
215 src1_chan = BRW_GET_SWZ(scan_inst->src[1].swizzle, 2); in opt_cmod_propagation_local()
218 src0_chan = BRW_GET_SWZ(scan_inst->src[0].swizzle, 3); in opt_cmod_propagation_local()
219 src1_chan = BRW_GET_SWZ(scan_inst->src[1].swizzle, 3); in opt_cmod_propagation_local()
Dbrw_reg.h76 #define BRW_GET_SWZ(swz, idx) (((swz) >> ((idx)*2)) & 0x3) macro
118 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 0)), in brw_compose_swizzle()
119 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 1)), in brw_compose_swizzle()
120 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 2)), in brw_compose_swizzle()
121 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 3))); in brw_compose_swizzle()
134 if (mask & (1 << BRW_GET_SWZ(swz, i))) in brw_apply_swizzle_to_mask()
153 result |= 1 << BRW_GET_SWZ(swz, i); in brw_apply_inv_swizzle_to_mask()
Dbrw_vec4.cpp924 src[i] = brw_imm_vf4(imm[BRW_GET_SWZ(swizzle, 0)], in reswizzle()
925 imm[BRW_GET_SWZ(swizzle, 1)], in reswizzle()
926 imm[BRW_GET_SWZ(swizzle, 2)], in reswizzle()
927 imm[BRW_GET_SWZ(swizzle, 3)]); in reswizzle()
978 if (BRW_GET_SWZ(inst->src[0].swizzle, c) != c) { in opt_register_coalesce()
1482 fprintf(file, "%s", chans[BRW_GET_SWZ(inst->src[i].swizzle, c)]); in dump_instruction()
1803 inst->src[i].subnr += 4 * BRW_GET_SWZ(inst->src[i].swizzle, 0); in convert_to_hw_regs()
2186 unsigned swz = BRW_GET_SWZ(inst->src[i].swizzle, chan); in scalarize_df()
2297 unsigned swizzle0 = BRW_GET_SWZ(reg.swizzle, 0); in apply_logical_swizzle()
2298 unsigned swizzle1 = BRW_GET_SWZ(reg.swizzle, 1); in apply_logical_swizzle()
[all …]
Dbrw_vec4_live_variables.h121 (BRW_GET_SWZ(reg.swizzle, c) + k / csize * 4) * csize + k % csize;
Dbrw_vec4_generator.cpp1435 indirect.subnr = (indirect.subnr * 4 + BRW_GET_SWZ(indirect.swizzle, 0)); in generate_mov_indirect()
1447 uint32_t uv_swiz = BRW_GET_SWZ(reg.swizzle, 0) << 2 | in generate_mov_indirect()
1448 BRW_GET_SWZ(reg.swizzle, 1) << 6 | in generate_mov_indirect()
1449 BRW_GET_SWZ(reg.swizzle, 2) << 10 | in generate_mov_indirect()
1450 BRW_GET_SWZ(reg.swizzle, 3) << 14; in generate_mov_indirect()
1472 assert(BRW_GET_SWZ(bit_mask_in.swizzle, 1) == in generate_zero_oob_push_regs()
1473 BRW_GET_SWZ(bit_mask_in.swizzle, 0) + 1); in generate_zero_oob_push_regs()
1474 bit_mask_in.subnr += BRW_GET_SWZ(bit_mask_in.swizzle, 0) * 4; in generate_zero_oob_push_regs()
Dbrw_vec4_copy_propagation.cpp78 inst->dst.writemask & (1 << BRW_GET_SWZ(src->swizzle, ch))); in is_channel_updated()
100 swz[i] = BRW_GET_SWZ(src.swizzle, i); in get_copy_value()
Dbrw_eu_emit.c311 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_X)); in brw_set_src0()
313 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_Y)); in brw_set_src0()
315 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_Z)); in brw_set_src0()
317 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_W)); in brw_set_src0()
418 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_X)); in brw_set_src1()
420 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_Y)); in brw_set_src1()
422 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_Z)); in brw_set_src1()
424 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_W)); in brw_set_src1()
2880 BRW_GET_SWZ(surface.swizzle, 0)), in brw_send_indirect_surface_message()
Dbrw_disasm.c1102 unsigned x = BRW_GET_SWZ(swiz, BRW_CHANNEL_X); in src_swizzle()
1103 unsigned y = BRW_GET_SWZ(swiz, BRW_CHANNEL_Y); in src_swizzle()
1104 unsigned z = BRW_GET_SWZ(swiz, BRW_CHANNEL_Z); in src_swizzle()
1105 unsigned w = BRW_GET_SWZ(swiz, BRW_CHANNEL_W); in src_swizzle()
Dbrw_eu.c121 y |= x >> imm_shift(type, (i & ~3) + BRW_GET_SWZ(swz, i & 3)) in brw_swizzle_immediate()
Dbrw_fs_generator.cpp743 const struct brw_reg src_0 = suboffset(src, BRW_GET_SWZ(swiz, 0)); in generate_quad_swizzle()
772 stride(suboffset(src, BRW_GET_SWZ(swiz, c)), 4, 1, 0)); in generate_quad_swizzle()