Searched refs:BRW_GET_SWZ (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/intel/compiler/ |
D | brw_reg.h | 76 #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()
|
D | brw_vec4_live_variables.h | 95 (BRW_GET_SWZ(reg.swizzle, c) + k / csize * 4) * csize + k % csize;
|
D | brw_vec4.cpp | 663 unsigned channel = BRW_GET_SWZ(inst->src[i].swizzle, c) + 1; in pack_uniform_registers() 1223 if (BRW_GET_SWZ(inst->src[0].swizzle, c) != c) { in opt_register_coalesce() 1711 fprintf(file, "%s", chans[BRW_GET_SWZ(inst->src[i].swizzle, c)]); in dump_instruction() 2053 inst->src[i].subnr += 4 * BRW_GET_SWZ(inst->src[i].swizzle, 0); in convert_to_hw_regs() 2436 unsigned swz = BRW_GET_SWZ(inst->src[i].swizzle, chan); in scalarize_df() 2547 unsigned swizzle0 = BRW_GET_SWZ(reg.swizzle, 0); in apply_logical_swizzle() 2548 unsigned swizzle1 = BRW_GET_SWZ(reg.swizzle, 1); in apply_logical_swizzle() 2561 unsigned swizzle0 = BRW_GET_SWZ(reg.swizzle, 0); in apply_logical_swizzle() 2562 unsigned swizzle1 = BRW_GET_SWZ(reg.swizzle, 1); in apply_logical_swizzle()
|
D | brw_vec4_copy_propagation.cpp | 78 inst->dst.writemask & (1 << BRW_GET_SWZ(src->swizzle, ch))); in is_channel_updated() 109 swz[i] = BRW_GET_SWZ(src.swizzle, i); in get_copy_value()
|
D | brw_eu_emit.c | 241 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_X)); in brw_set_src0() 243 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_Y)); in brw_set_src0() 245 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_Z)); in brw_set_src0() 247 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_W)); in brw_set_src0() 331 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_X)); in brw_set_src1() 333 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_Y)); in brw_set_src1() 335 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_Z)); in brw_set_src1() 337 BRW_GET_SWZ(reg.swizzle, BRW_CHANNEL_W)); in brw_set_src1() 2580 BRW_GET_SWZ(surface.swizzle, 0)), in brw_send_indirect_surface_message()
|
D | brw_vec4_generator.cpp | 1464 indirect.subnr = (indirect.subnr * 4 + BRW_GET_SWZ(indirect.swizzle, 0)); in generate_mov_indirect() 1476 uint32_t uv_swiz = BRW_GET_SWZ(reg.swizzle, 0) << 2 | in generate_mov_indirect() 1477 BRW_GET_SWZ(reg.swizzle, 1) << 6 | in generate_mov_indirect() 1478 BRW_GET_SWZ(reg.swizzle, 2) << 10 | in generate_mov_indirect() 1479 BRW_GET_SWZ(reg.swizzle, 3) << 14; in generate_mov_indirect()
|
D | brw_disasm.c | 879 unsigned x = BRW_GET_SWZ(swiz, BRW_CHANNEL_X); in src_swizzle() 880 unsigned y = BRW_GET_SWZ(swiz, BRW_CHANNEL_Y); in src_swizzle() 881 unsigned z = BRW_GET_SWZ(swiz, BRW_CHANNEL_Z); in src_swizzle() 882 unsigned w = BRW_GET_SWZ(swiz, BRW_CHANNEL_W); in src_swizzle()
|
D | brw_eu.c | 118 y |= x >> imm_shift(type, (i & ~3) + BRW_GET_SWZ(swz, i & 3)) in brw_swizzle_immediate()
|