Home
last modified time | relevance | path

Searched refs:SwizzleX (Results 1 – 25 of 37) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h241 reg->Register.SwizzleX = swizzleX; in tgsi_transform_src_reg()
363 inst.Src[0].Register.SwizzleX = src0_swizzle; in tgsi_transform_op1_swz_inst()
412 inst.Src[0].Register.SwizzleX = src0_swizzle; in tgsi_transform_op2_swz_inst()
413 inst.Src[1].Register.SwizzleX = src1_swizzle; in tgsi_transform_op2_swz_inst()
470 inst.Src[0].Register.SwizzleX = src0_swizzle; in tgsi_transform_op3_swz_inst()
471 inst.Src[1].Register.SwizzleX = src1_swizzle; in tgsi_transform_op3_swz_inst()
472 inst.Src[2].Register.SwizzleX = src2_swizzle; in tgsi_transform_op3_swz_inst()
512 inst.Src[0].Register.SwizzleX = in tgsi_transform_kill_inst()
Dtgsi_util.c59 return reg->SwizzleX; in tgsi_util_get_src_register_swizzle()
91 reg->SwizzleX = swizzle; in tgsi_util_set_src_register_swizzle()
362 src.SwizzleX = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h49 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member
1122 unsigned swz = ( (reg.SwizzleX << 0) | in ureg_swizzle()
1133 reg.SwizzleX = (swz >> (x*2)) & 0x3; in ureg_swizzle()
1189 reg.IndirectSwizzle = addr.SwizzleX; in ureg_dst_indirect()
1201 reg.IndirectSwizzle = addr.SwizzleX; in ureg_src_indirect()
1235 reg.DimIndSwizzle = addr.SwizzleX; in ureg_dst_dimension_indirect()
1249 reg.DimIndSwizzle = addr.SwizzleX; in ureg_src_dimension_indirect()
1348 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src_array_register()
1383 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src()
1443 src.SwizzleX = 0; in ureg_src_undef()
Dtgsi_build.c695 instruction_predicate.SwizzleX = TGSI_SWIZZLE_X; in tgsi_default_instruction_predicate()
719 instruction_predicate.SwizzleX = swizzleX; in tgsi_build_instruction_predicate()
834 texture_offset.SwizzleX = 0; in tgsi_default_texture_offset()
853 texture_offset.SwizzleX = swizzle_x; in tgsi_build_texture_offset()
869 src_register.SwizzleX = TGSI_SWIZZLE_X; in tgsi_default_src_register()
908 src_register.SwizzleX = swizzle_x; in tgsi_build_src_register()
1123 full_inst->Predicate.SwizzleX, in tgsi_build_full_instruction()
1175 full_inst->TexOffsets[i].SwizzleX, in tgsi_build_full_instruction()
1285 reg->Register.SwizzleX, in tgsi_build_full_instruction()
Dtgsi_scan.c140 (src->Register.SwizzleX == TGSI_SWIZZLE_Z || in scan_src_operand()
148 (1 << src->Register.SwizzleX) | in scan_src_operand()
377 src.Register.SwizzleX = fullinst->TexOffsets[i].SwizzleX; in scan_instruction()
875 src->Register.SwizzleX != TGSI_SWIZZLE_X || in tgsi_is_passthrough_shader()
Dtgsi_dump.c587 if (inst->Predicate.SwizzleX != TGSI_SWIZZLE_X || in iter_instruction()
592 ENM( inst->Predicate.SwizzleX, tgsi_swizzle_names ); in iter_instruction()
634 if (src->Register.SwizzleX != TGSI_SWIZZLE_X || in iter_instruction()
639 ENM( src->Register.SwizzleX, tgsi_swizzle_names ); in iter_instruction()
664 ENM( inst->TexOffsets[i].SwizzleX, tgsi_swizzle_names); in iter_instruction()
Dtgsi_emulate.c95 new_inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in passthrough_edgeflag()
Dtgsi_lowering.c78 swiz[0] = src->SwizzleX; in get_swiz()
92 src->Register.SwizzleX = swiz[sx]; in reg_src()
1379 new_inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside()
1385 new_inst.Src[1].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside()
1391 new_inst.Src[2].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside()
1425 ctx->imm.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
1439 ctx->tmp[i].src.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
Dtgsi_text.c950 src->Register.SwizzleX = swizzle[0]; in parse_src_operand()
990 src->SwizzleX = swizzle[0]; in parse_texoffset_operand()
1061 inst.Predicate.SwizzleX = swizzle[0]; in parse_instruction()
Dtgsi_ureg.c1096 out[n].src.SwizzleX = src.SwizzleX; in ureg_emit_src()
1260 out[1].insn_predicate.SwizzleX = pred_swizzle_x; in ureg_emit_insn()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c165 if ( write_mask & TGSI_WRITEMASK_X && r->Register.SwizzleX != TGSI_SWIZZLE_X) in is_unswizzled()
200 r->Register.SwizzleX = neutral; in set_neutral_element_swizzle()
202 r->Register.SwizzleX = TGSI_SWIZZLE_X; in set_neutral_element_swizzle()
226 o->SwizzleX = i->SwizzleX; in copy_src_reg()
454 swizzle_x = src_reg1->Register.SwizzleX; in i915_fpc_optimize_mov_after_mov()
461 swizzle_x = src_reg2->Register.SwizzleX; in i915_fpc_optimize_mov_after_mov()
470 src_reg2->Register.SwizzleX = swizzle_x; in i915_fpc_optimize_mov_after_mov()
Di915_fpc.h252 unsigned SwizzleX : 3; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c409 reg->Register.SwizzleX, in lp_build_emit_fetch()
437 reg.Register.SwizzleX = off->SwizzleX; in lp_build_emit_fetch_texoffset()
464 off->SwizzleX, in lp_build_emit_fetch_texoffset()
468 off->SwizzleX); in lp_build_emit_fetch_texoffset()
Dlp_bld_tgsi_soa.c1760 swizzles[0] = inst->Predicate.SwizzleX; in emit_fetch_predicate()
2521 if (inst->Src[1].Register.SwizzleX != PIPE_SWIZZLE_X || in emit_sample()
2526 swizzles[0] = inst->Src[1].Register.SwizzleX; in emit_sample()
2652 (inst->Src[1].Register.SwizzleX != PIPE_SWIZZLE_X || in emit_fetch_texels()
2657 swizzles[0] = inst->Src[1].Register.SwizzleX; in emit_fetch_texels()
2918 reg.Register.SwizzleX = 0; in emit_dump_file()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h705 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_x */ member
718 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_x */ member
748 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/mesa/state_tracker/
Dst_tgsi_lower_yuv.c74 swiz[0] = src->SwizzleX; in get_swiz()
88 src->Register.SwizzleX = swiz[sx]; in reg_src()
162 ctx->imm[idx].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_immed()
233 ctx->tmp[i].src.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
Dst_cb_bitmap_shader.c113 inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in transform_instr()
Dst_cb_drawpixels_shader.c61 inst->Src[i].Register.SwizzleX = x; in set_src()
Dst_atifs_to_tgsi.c637 inst->Src[i].Register.SwizzleX = x; in set_src()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_compiler.c399 swiz[0] = swiz_vals[src->SwizzleX]; in add_src_reg()
512 src->SwizzleX = TGSI_SWIZZLE_X; in src_from_dst()
557 src->SwizzleX = TGSI_SWIZZLE_W; in get_predicate()
679 reg->SwizzleX = swiz2tgsi[swiz]; in get_immediate()
940 tmp_src.SwizzleX = tmp_src.SwizzleY = in translate_trig()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c975 const unsigned swizzleX = reg->Register.SwizzleX; in emit_src_register()
1371 reg.Register.SwizzleX = TGSI_SWIZZLE_X; in make_src_reg()
1474 return reg->Register.SwizzleX; in get_swizzle()
1498 swizzled.Register.SwizzleX = get_swizzle(reg, swizzleX); in swizzle_src()
1515 swizzled.Register.SwizzleX = in scalar_src()
1542 return (reg->Register.SwizzleX == reg->Register.SwizzleY && in same_swizzle_terms()
1623 reg.Register.SwizzleX = x; in make_immediate_reg_4()
1658 reg.Register.SwizzleX = in make_immediate_reg()
3865 assert(inst->Src[0].Register.SwizzleX == inst->Src[0].Register.SwizzleY && in emit_if()
3866 inst->Src[0].Register.SwizzleX == inst->Src[0].Register.SwizzleZ && in emit_if()
[all …]
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dtoy_tgsi.c1757 s->Register.SwizzleX, s->Register.SwizzleY, in ra_get_src_for_vrf()
1925 (imm[s->Register.SwizzleX] == imm[s->Register.SwizzleY] && in ra_get_src()
1926 imm[s->Register.SwizzleX] == imm[s->Register.SwizzleZ] && in ra_get_src()
1927 imm[s->Register.SwizzleX] == imm[s->Register.SwizzleW]); in ra_get_src()
1934 src = tsrc_imm_ud(imm[s->Register.SwizzleX]); in ra_get_src()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c407 src.swz[0] = fsrc->Register.SwizzleX; in tgsi_src()
476 || fsrc->Register.SwizzleX == PIPE_SWIZZLE_W in nvfx_fragprog_parse_instruction()
483 addend.swz[0] = fsrc->Register.SwizzleX; in nvfx_fragprog_parse_instruction()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c264 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_Z; in aa_transform_prolog()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c806 src.swizzle[0] = tgsi_src->SwizzleX; in ttn_get_src()
1458 src.swizzle[0] = tex_offset->SwizzleX; in ttn_tex()

12