Home
last modified time | relevance | path

Searched refs:swizzle0 (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/intel/isl/
Disl_tiled_memcpy.c323 uint32_t swizzle0 = (xo0 >> 3) & swizzle_bit; in linear_to_ytiled() local
335 mem_copy(dst + ((xo0 + yo) ^ swizzle0), src + x0, x1 - x0); in linear_to_ytiled()
357 … mem_copy(dst + ((xo0 + yo + 0 * column_width) ^ swizzle0), src + x0 + 0 * src_pitch, x1 - x0); in linear_to_ytiled()
358 … mem_copy(dst + ((xo0 + yo + 1 * column_width) ^ swizzle0), src + x0 + 1 * src_pitch, x1 - x0); in linear_to_ytiled()
359 … mem_copy(dst + ((xo0 + yo + 2 * column_width) ^ swizzle0), src + x0 + 2 * src_pitch, x1 - x0); in linear_to_ytiled()
360 … mem_copy(dst + ((xo0 + yo + 3 * column_width) ^ swizzle0), src + x0 + 3 * src_pitch, x1 - x0); in linear_to_ytiled()
390 mem_copy(dst + ((xo0 + yo) ^ swizzle0), src + x0, x1 - x0); in linear_to_ytiled()
487 uint32_t swizzle0 = (xo0 >> 3) & swizzle_bit; in ytiled_to_linear() local
499 mem_copy(dst + x0, src + ((xo0 + yo) ^ swizzle0), x1 - x0); in ytiled_to_linear()
521 … mem_copy(dst + x0 + 0 * dst_pitch, src + ((xo0 + yo + 0 * column_width) ^ swizzle0), x1 - x0); in ytiled_to_linear()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_lower_flrp.c267 const uint8_t *const swizzle0 = instr->src[0].swizzle; in sources_are_constants_with_similar_magnitudes() local
276 frexpf(val0[swizzle0[i]].f32, &exp0); in sources_are_constants_with_similar_magnitudes()
293 frexp(val0[swizzle0[i]].f64, &exp0); in sources_are_constants_with_similar_magnitudes()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4.cpp2599 unsigned swizzle0 = BRW_GET_SWZ(reg.swizzle, 0); in apply_logical_swizzle() local
2601 hw_reg->swizzle = BRW_SWIZZLE4(swizzle0 * 2, swizzle0 * 2 + 1, in apply_logical_swizzle()
2613 unsigned swizzle0 = BRW_GET_SWZ(reg.swizzle, 0); in apply_logical_swizzle() local
2615 assert((swizzle0 < 2) == (swizzle1 < 2)); in apply_logical_swizzle()
2620 if (swizzle0 >= 2) { in apply_logical_swizzle()
2622 swizzle0 -= 2; in apply_logical_swizzle()
2642 hw_reg->swizzle = BRW_SWIZZLE4(swizzle0 * 2, swizzle0 * 2 + 1, in apply_logical_swizzle()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c372 static const unsigned char swizzle0[] = { /* no-op swizzle */ in lp_build_rho() local
431 rho_xvec = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle0); in lp_build_rho()
454 rho_xvec = lp_build_swizzle_aos(coord_bld, ddx_ddy[0], swizzle0); in lp_build_rho()
513 rho_s = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle0); in lp_build_rho()
1888 static const unsigned char swizzle0[] = { /* no-op swizzle */ in lp_build_cube_lookup() local
1942 tmp[0] = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle0); in lp_build_cube_lookup()