Searched refs:swizzle0 (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/intel/isl/ |
D | isl_tiled_memcpy.c | 323 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 …]
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_flrp.c | 267 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()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_vec4.cpp | 2646 unsigned swizzle0 = BRW_GET_SWZ(reg.swizzle, 0); in apply_logical_swizzle() local 2648 hw_reg->swizzle = BRW_SWIZZLE4(swizzle0 * 2, swizzle0 * 2 + 1, in apply_logical_swizzle() 2660 unsigned swizzle0 = BRW_GET_SWZ(reg.swizzle, 0); in apply_logical_swizzle() local 2662 assert((swizzle0 < 2) == (swizzle1 < 2)); in apply_logical_swizzle() 2667 if (swizzle0 >= 2) { in apply_logical_swizzle() 2669 swizzle0 -= 2; in apply_logical_swizzle() 2689 hw_reg->swizzle = BRW_SWIZZLE4(swizzle0 * 2, swizzle0 * 2 + 1, in apply_logical_swizzle()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 296 static const unsigned char swizzle0[] = { /* no-op swizzle */ in lp_build_pmin() local 304 LLVMValueRef px2 = lp_build_swizzle_aos(coord_bld, px2_py2, swizzle0); in lp_build_pmin() 462 static const unsigned char swizzle0[] = { /* no-op swizzle */ in lp_build_rho() local 521 rho_xvec = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle0); in lp_build_rho() 544 rho_xvec = lp_build_swizzle_aos(coord_bld, ddx_ddy[0], swizzle0); in lp_build_rho() 603 rho_s = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle0); in lp_build_rho()
|