Home
last modified time | relevance | path

Searched refs:src_swizzle (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_blorp.h41 mesa_format src_format, int src_swizzle,
83 mesa_format src_format, uint32_t src_swizzle,
Dbrw_blorp.c276 mesa_format src_format, int src_swizzle, in brw_blorp_blit_miptrees() argument
417 .r = swizzle_to_scs(GET_SWZ(src_swizzle, 0)), in brw_blorp_blit_miptrees()
418 .g = swizzle_to_scs(GET_SWZ(src_swizzle, 1)), in brw_blorp_blit_miptrees()
419 .b = swizzle_to_scs(GET_SWZ(src_swizzle, 2)), in brw_blorp_blit_miptrees()
420 .a = swizzle_to_scs(GET_SWZ(src_swizzle, 3)), in brw_blorp_blit_miptrees()
1045 mesa_format src_format, uint32_t src_swizzle, in brw_blorp_download_miptree() argument
1133 src_swizzle == SWIZZLE_XYZW) { in brw_blorp_download_miptree()
1139 src_format, src_swizzle, in brw_blorp_download_miptree()
Dbrw_wm.c247 unsigned src_swizzle = in brw_populate_sampler_prog_key_data() local
250 unsigned src_comp = GET_SWZ(src_swizzle, i); in brw_populate_sampler_prog_key_data()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_assemble.c30 src_swizzle(struct ir2_context *ctx, struct ir2_src *src, unsigned ncomp) in src_swizzle() function
58 return swiz_merge(src_swizzle(ctx, reg, 1), IR2_SWIZZLE_XXXX); in alu_swizzle_scalar()
65 unsigned swiz0 = src_swizzle(ctx, src, src_ncomp(instr)); in alu_swizzle()
95 unsigned s0 = swiz_get(src_swizzle(ctx, src, 1), 0); in alu_swizzle_scalar2()
120 unsigned alu_swiz = src_swizzle(ctx, src, ncomp); in fetch_swizzle()
/external/mesa3d/src/mesa/state_tracker/
Dst_mesa_to_tgsi.c368 unsigned src_swizzle[4] = {0,0,0,0}; in emit_swz() local
411 src_swizzle[i] = GET_SWZ(SrcReg->Swizzle, i); in emit_swz()
426 swizzle_4v(src, src_swizzle), in emit_swz()
433 swizzle_4v(src, src_swizzle), in emit_swz()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_gds.h63 int src_swizzle(int idx) const {assert(idx < 3); return m_src_swizzle[idx];} in src_swizzle() function
Dsfn_ir_to_assembly.cpp874 gds.src_sel_x = instr.src_swizzle(0); in emit_gds()
875 gds.src_sel_y = instr.src_swizzle(1); in emit_gds()
876 gds.src_sel_z = instr.src_swizzle(2); in emit_gds()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c206 src_swizzle(hw_src src, unsigned swizzle) in src_swizzle() function
354 return src_swizzle(get_src(c, &alu->src[0].src), ALU_SWIZ(&alu->src[0])); in get_src()
384 return src_swizzle(const_src(c, &value, 1), SWIZZLE(X,X,X,X)); in get_src()
482 src = src_swizzle(get_src(c, &asrc->src), ALU_SWIZ(asrc)); in emit_alu()
483 src = src_swizzle(src, dst_swiz); in emit_alu()
/external/mesa3d/src/intel/blorp/
Dblorp_priv.h257 struct isl_swizzle src_swizzle; member
Dblorp.h137 enum isl_format src_format, struct isl_swizzle src_swizzle,
Dblorp_blit.c1394 if (!isl_swizzle_is_identity(key->src_swizzle)) { in brw_blorp_build_nir_shader()
1395 color = swizzle_color(&b, color, key->src_swizzle, in brw_blorp_build_nir_shader()
1405 assert(isl_swizzle_is_identity(key->src_swizzle)); in brw_blorp_build_nir_shader()
2082 wm_prog_key->src_swizzle = params->src.view.swizzle; in try_blorp_blit()
2085 wm_prog_key->src_swizzle = ISL_SWIZZLE_IDENTITY; in try_blorp_blit()
2324 enum isl_format src_format, struct isl_swizzle src_swizzle, in blorp_blit() argument
2358 params.src.view.swizzle = src_swizzle; in blorp_blit()
/external/mesa3d/src/gallium/frontends/xa/
Dxa_tgsi.c350 unsigned src_swizzle = (fs_traits & FS_SRC_SWIZZLE_RGB) != 0; in create_fs() local
386 read_input(ureg, src, &imm0, src_repeat_none, src_swizzle, in create_fs()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h525 unsigned src_swizzle, in tgsi_transform_kill_inst() argument
538 inst.Src[0].Register.SwizzleW = src_swizzle; in tgsi_transform_kill_inst()
/external/mesa3d/src/intel/compiler/
Dbrw_disasm.c953 src_swizzle(FILE *file, unsigned swiz) in src_swizzle() function
1009 err |= src_swizzle(file, BRW_SWIZZLE4(swz_x, swz_y, swz_z, swz_w)); in src_da16()
1180 err |= src_swizzle(file, brw_inst_3src_a16_src0_swizzle(devinfo, inst)); in src0_3src()
1253 err |= src_swizzle(file, brw_inst_3src_a16_src1_swizzle(devinfo, inst)); in src1_3src()
1340 err |= src_swizzle(file, brw_inst_3src_a16_src2_swizzle(devinfo, inst)); in src2_3src()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c8921 int src_swizzle = TGSI_SWIZZLE_X; in emit_msb() local
8929 scalar_src(&index_src, src_swizzle); in emit_msb()
8949 src_swizzle = src_swizzle + 1; in emit_msb()