Home
last modified time | relevance | path

Searched refs:dst_swiz (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_program.c169 instr_fetch_vtx_t *instr, uint16_t dst_swiz) in patch_vtx_fetch() argument
173 instr->dst_swiz = fd2_vtx_swiz(elem->src_format, dst_swiz); in patch_vtx_fetch()
193 patch_vtx_fetch(ctx, &vtx->pipe[idx], &instr->vtx, fi->vtx.dst_swiz); in patch_fetches()
316 instr->dst_swiz = IR2_FETCH_SWIZ_XYZ1; in fd2_prog_init()
331 instr->dst_swiz = IR2_FETCH_SWIZ_XY01; in fd2_prog_init()
340 instr->dst_swiz = IR2_FETCH_SWIZ_XYZ1; in fd2_prog_init()
Dir2_assemble.c131 unsigned dst_swiz = 0xfff; in fetch_dst_swiz() local
133 dst_swiz &= ~(7 << comp[i].c * 3); in fetch_dst_swiz()
134 dst_swiz |= i << comp[i].c * 3; in fetch_dst_swiz()
136 return dst_swiz; in fetch_dst_swiz()
191 vtx->dst_swiz = fetch_dst_swiz(ctx, instr); in fill_instr()
210 tex->dst_swiz = fetch_dst_swiz(ctx, instr); in fill_instr()
229 tex->dst_swiz = 0xfff; in fill_instr()
437 info->vtx.dst_swiz = bc.fetch.vtx.dst_swiz; in assemble()
Dir2.h39 uint16_t dst_swiz; member
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c458 unsigned dst_swiz; in emit_alu() local
459 hw_dst dst = ra_dest(c, &alu->dest.dest, &dst_swiz); in emit_alu()
470 dst_swiz = INST_SWIZ_IDENTITY; in emit_alu()
483 src = src_swizzle(src, dst_swiz); in emit_alu()
502 unsigned dst_swiz; in emit_tex() local
503 hw_dst dst = ra_dest(c, &tex->dest, &dst_swiz); in emit_tex()
526 etna_emit_tex(c, tex->op, tex->sampler_index, dst_swiz, dst, get_src(c, coord), in emit_tex()
545 unsigned dst_swiz; in emit_intrinsic() local
546 struct etna_inst_dst dst = ra_dest(c, &intr->dest, &dst_swiz); in emit_intrinsic()
561 .swiz = dst_swiz, in emit_intrinsic()
[all …]
Detnaviv_compiler_nir_emit.c194 etna_emit_tex(struct etna_compile *c, nir_texop op, unsigned texid, unsigned dst_swiz, in etna_emit_tex() argument
201 .tex.swiz = dst_swiz, in etna_emit_tex()
Detnaviv_compiler_nir.h341 etna_emit_tex(struct etna_compile *c, nir_texop op, unsigned texid, unsigned dst_swiz,
/external/mesa3d/src/freedreno/ir2/
Ddisasm-a2xx.c315 static void print_fetch_dst(uint32_t dst_reg, uint32_t dst_swiz) in print_fetch_dst() argument
320 printf("%c", chan_names[dst_swiz & 0x7]); in print_fetch_dst()
321 dst_swiz >>= 3; in print_fetch_dst()
336 print_fetch_dst(vtx->dst_reg, vtx->dst_swiz); in print_fetch_vtx()
399 print_fetch_dst(tex->dst_reg, tex->dst_swiz); in print_fetch_tex()
Dinstr-a2xx.h334 uint16_t dst_swiz : 12; member
369 uint16_t dst_swiz : 12; member