Home
last modified time | relevance | path

Searched refs:SWIZ (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_formats.c63 #define SWIZ(x,y,z,w) { \ macro
74 FORMAT(R8G8B8A8_UNORM, RGBA8888, RGBA8888, SWIZ(X, Y, Z, W)),
75 FORMAT(R8G8B8X8_UNORM, RGBA8888, RGBA8888, SWIZ(X, Y, Z, 1)),
76 FORMAT(R8G8B8A8_SRGB, RGBA8888, RGBA8888, SWIZ(X, Y, Z, W)),
77 FORMAT(R8G8B8X8_SRGB, RGBA8888, RGBA8888, SWIZ(X, Y, Z, 1)),
79 FORMAT(B8G8R8A8_UNORM, RGBA8888, RGBA8888, SWIZ(Z, Y, X, W)),
80 FORMAT(B8G8R8X8_UNORM, RGBA8888, RGBA8888, SWIZ(Z, Y, X, 1)),
81 FORMAT(B8G8R8A8_SRGB, RGBA8888, RGBA8888, SWIZ(Z, Y, X, W)),
82 FORMAT(B8G8R8X8_SRGB, RGBA8888, RGBA8888, SWIZ(Z, Y, X, 1)),
84 FORMAT(B5G6R5_UNORM, RGB565, RGB565, SWIZ(X, Y, Z, 1)),
[all …]
Dvc4_uniforms.c99 #define SWIZ(x,y,z,w) { \ macro
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_lowering.c99 #define SWIZ(x,y,z,w) TGSI_SWIZZLE_ ## x, TGSI_SWIZZLE_ ## y, \ macro
143 reg_src(&new_inst.Src[0], src, SWIZ(X, Y, Z, W)); in create_mov()
222 reg_src(&new_inst.Src[0], src0, SWIZ(_, Y, _, _)); in transform_dst()
223 reg_src(&new_inst.Src[1], src1, SWIZ(_, Y, _, _)); in transform_dst()
234 reg_src(&new_inst.Src[0], src0, SWIZ(_, _, Z, _)); in transform_dst()
245 reg_src(&new_inst.Src[0], src1, SWIZ(_, _, _, W)); in transform_dst()
256 reg_src(&new_inst.Src[0], &ctx->imm, SWIZ(Y, _, _, _)); in transform_dst()
291 reg_src(&new_inst.Src[0], src1, SWIZ(Y, Z, X, _)); in transform_xpd()
292 reg_src(&new_inst.Src[1], src0, SWIZ(Z, X, Y, _)); in transform_xpd()
301 reg_src(&new_inst.Src[0], src0, SWIZ(Y, Z, X, _)); in transform_xpd()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_tgsi_lower_yuv.c95 #define SWIZ(x,y,z,w) TGSI_SWIZZLE_ ## x, TGSI_SWIZZLE_ ## y, \ macro
266 reg_src(&inst.Src[0], &ctx->tmp[A].src, SWIZ(X, Y, Z, _)); in yuv_to_rgb()
267 reg_src(&inst.Src[1], &ctx->imm[3], SWIZ(X, Y, Z, _)); in yuv_to_rgb()
274 reg_src(&inst.Src[0], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in yuv_to_rgb()
275 reg_src(&inst.Src[1], &ctx->imm[0], SWIZ(X, Y, Z, W)); in yuv_to_rgb()
281 reg_src(&inst.Src[0], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in yuv_to_rgb()
282 reg_src(&inst.Src[1], &ctx->imm[1], SWIZ(X, Y, Z, W)); in yuv_to_rgb()
288 reg_src(&inst.Src[0], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); in yuv_to_rgb()
289 reg_src(&inst.Src[1], &ctx->imm[2], SWIZ(X, Y, Z, W)); in yuv_to_rgb()
295 reg_src(&inst.Src[0], &ctx->imm[3], SWIZ(_, _, _, W)); in yuv_to_rgb()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c60 #define SWIZ(X, Y, Z, W) \ macro
62 #define ptn_channel(b, src, ch) nir_swizzle(b, src, SWIZ(ch, ch, ch, ch), 1, true)
454 nir_swizzle(b, src[0], SWIZ(Y, Z, X, W), 3, true), in ptn_xpd()
455 nir_swizzle(b, src[1], SWIZ(Z, X, Y, W), 3, true)), in ptn_xpd()
457 nir_swizzle(b, src[1], SWIZ(Y, Z, X, W), 3, true), in ptn_xpd()
458 nir_swizzle(b, src[0], SWIZ(Z, X, Y, W), 3, true))), in ptn_xpd()
608 nir_src_for_ssa(nir_swizzle(b, src[0], SWIZ(X, Y, Z, W), in ptn_tex()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c38 #define SWIZ(X, Y, Z, W) (unsigned[4]){ \ macro
93 nir_swizzle(b, src, SWIZ(x, y, z, w), 4, false)
95 nir_swizzle(b, src, SWIZ(swiz, swiz, swiz, swiz), 1, false)
1375 nir_src_for_ssa(nir_swizzle(b, src[0], SWIZ(X, Y, Z, W), in ttn_tex()
1421 nir_src_for_ssa(nir_swizzle(b, src[1], SWIZ(X, Y, Z, W), in ttn_tex()
1426 nir_src_for_ssa(nir_swizzle(b, src[2], SWIZ(X, Y, Z, W), in ttn_tex()