/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_dynamic_indexing.c | 138 index, TGSI_SWIZZLE_X, in remove_dynamic_indexes() 139 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, TGSI_SWIZZLE_X); in remove_dynamic_indexes() 156 imm_index, TGSI_SWIZZLE_X, in remove_dynamic_indexes() 157 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in remove_dynamic_indexes() 158 TGSI_SWIZZLE_X); in remove_dynamic_indexes() 209 tmp_arrayIdx, TGSI_SWIZZLE_X, in remove_dynamic_indexes() 210 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in remove_dynamic_indexes() 211 TGSI_SWIZZLE_X); in remove_dynamic_indexes() 213 tmp_loopIdx, TGSI_SWIZZLE_X, in remove_dynamic_indexes() 214 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in remove_dynamic_indexes() [all …]
|
D | tgsi_point_sprite.c | 48 static const unsigned map[3] = {TGSI_SWIZZLE_W, TGSI_SWIZZLE_X, in set_swizzle() 317 TGSI_FILE_TEMPORARY, ts->point_size_tmp, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst() 328 ts->point_scale_tmp, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst() 329 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, TGSI_SWIZZLE_X); in psprite_emit_vertex_inst() 331 ts->point_ivp, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst() 346 TGSI_SWIZZLE_X, false); in psprite_emit_vertex_inst() 354 TGSI_SWIZZLE_X, true); in psprite_emit_vertex_inst() 380 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst() 381 TGSI_SWIZZLE_X); in psprite_emit_vertex_inst() 388 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, in psprite_emit_vertex_inst() [all …]
|
D | tgsi_aa_point.c | 180 TGSI_FILE_IMMEDIATE, imm, TGSI_SWIZZLE_X, in aa_prolog() 186 TGSI_FILE_IMMEDIATE, imm, TGSI_SWIZZLE_X, in aa_prolog() 187 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, true); in aa_prolog()
|
D | tgsi_vpos.c | 74 vc->imm_index, TGSI_SWIZZLE_X, in write_vpos_prolog()
|
D | tgsi_lowering.c | 99 #define TGSI_SWIZZLE__ TGSI_SWIZZLE_X /* don't-care value! */ 1228 new_inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside() 1229 new_inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in emit_twoside() 1230 new_inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in emit_twoside() 1231 new_inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X; in emit_twoside() 1234 new_inst.Src[1].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside() 1240 new_inst.Src[2].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside() 1274 ctx->imm.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls() 1288 ctx->tmp[i].src.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
|
D | tgsi_text.c | 579 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_bracket() 672 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_src() 797 brackets->ind_comp = TGSI_SWIZZLE_X; in parse_register_dst() 875 swizzle[i] = TGSI_SWIZZLE_X; in parse_optional_swizzle()
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_tgsi.c | 117 src, ureg_scalar(mask, TGSI_SWIZZLE_X)); in src_in_mask() 119 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_X)); in src_in_mask() 238 ureg_scalar(ureg_src(y), TGSI_SWIZZLE_X), matrow0, ureg_src(rgb)); in create_yuv_shader() 240 ureg_scalar(ureg_src(u), TGSI_SWIZZLE_X), matrow1, ureg_src(rgb)); in create_yuv_shader() 242 ureg_scalar(ureg_src(v), TGSI_SWIZZLE_X), matrow2, ureg_src(rgb)); in create_yuv_shader() 269 TGSI_SWIZZLE_X, in xrender_tex() 271 TGSI_SWIZZLE_X, in xrender_tex() 273 TGSI_SWIZZLE_X)); in xrender_tex() 275 ureg_swizzle(coords, TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, in xrender_tex() 276 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y), ureg_scalar(*imm0, in xrender_tex() [all …]
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_emit.h | 170 TRANSLATE_SWIZZLE(TGSI_SWIZZLE_X,TGSI_SWIZZLE_Y,TGSI_SWIZZLE_Z,TGSI_SWIZZLE_W) 172 TRANSLATE_SWIZZLE(TGSI_SWIZZLE_X,TGSI_SWIZZLE_X,TGSI_SWIZZLE_X,TGSI_SWIZZLE_X)
|
D | svga_tgsi_vgpu10.c | 1590 swizzleX = swizzleY = swizzleZ = swizzleW = TGSI_SWIZZLE_X; in emit_src_register() 1663 swizzleX = swizzleY = swizzleZ = swizzleW = TGSI_SWIZZLE_X; in emit_src_register() 1683 swizzleX = swizzleY = swizzleZ = swizzleW = TGSI_SWIZZLE_X; in emit_src_register() 2342 reg.Register.SwizzleX = TGSI_SWIZZLE_X; in make_src_reg() 2359 assert(component >= TGSI_SWIZZLE_X); in make_src_scalar_reg() 2467 case TGSI_SWIZZLE_X: in get_swizzle() 2477 return TGSI_SWIZZLE_X; in get_swizzle() 2759 reg.Register.SwizzleX = TGSI_SWIZZLE_X; in make_immediate_reg_double() 6570 scalar_src(&temp_src, TGSI_SWIZZLE_X + i); in store_tesslevels() 6584 scalar_src(&temp_src, TGSI_SWIZZLE_X + i); in store_tesslevels() [all …]
|
D | svga_tgsi_decl_sm30.c | 189 emit->ps_true_pos.base.swizzle = TRANSLATE_SWIZZLE(TGSI_SWIZZLE_X, in ps30_input() 267 emit->input_map[idx].base.swizzle = TRANSLATE_SWIZZLE(TGSI_SWIZZLE_X, in ps30_input() 268 TGSI_SWIZZLE_X, in ps30_input() 269 TGSI_SWIZZLE_X, in ps30_input() 270 TGSI_SWIZZLE_X); in ps30_input()
|
D | svga_tgsi_insn.c | 806 emit->arl_consts[i + 0].swizzle = TGSI_SWIZZLE_X; in create_arl_consts() 887 return TGSI_SWIZZLE_X; in common_immediate_swizzle() 896 return TGSI_SWIZZLE_X; in common_immediate_swizzle() 1071 src0 = scalar(src( tmp ), TGSI_SWIZZLE_X); in emit_if() 1225 temp_src0 = scalar(src( temp ), TGSI_SWIZZLE_X); in emit_dp2() 1245 src0 = scalar(src0, TGSI_SWIZZLE_X); in do_emit_sincos() 1296 src0 = scalar(src( temp ), TGSI_SWIZZLE_X); in emit_cos() 1748 srcSwizzle[i] = TGSI_SWIZZLE_X + i; in emit_tex_swizzle() 1752 srcSwizzle[i] = TGSI_SWIZZLE_X + i; in emit_tex_swizzle() 1877 scalar(src(src0_zdivw), TGSI_SWIZZLE_X) )) in emit_tex() [all …]
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | ShaderTGSI.c | 382 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, TGSI_SWIZZLE_X }, //TGSI_WRITEMASK_NONE 383 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, TGSI_SWIZZLE_X }, //TGSI_WRITEMASK_X 385 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y }, //TGSI_WRITEMASK_XY 387 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z }, //TGSI_WRITEMASK_XZ 389 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X }, //TGSI_WRITEMASK_XYZ 391 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_W, TGSI_SWIZZLE_X, TGSI_SWIZZLE_W }, //TGSI_WRITEMASK_XW 393 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W }, //TGSI_WRITEMASK_XYW 395 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W }, //TGSI_WRITEMASK_XZW 396 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W }, //TGSI_WRITEMASK_YZW 397 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W }, //TGSI_WRITEMASK_XYZW [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_simple_shaders.c | 109 ureg_scalar(instance_id, TGSI_SWIZZLE_X)); in util_make_vertex_passthrough_shader_with_so() 263 ureg_scalar(imm, TGSI_SWIZZLE_X), in util_make_fragment_tex_shader_xrbias() 415 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in util_make_fs_blit_zs() 431 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in util_make_fs_blit_zs() 1016 ureg_scalar(ureg_src(stencil), TGSI_SWIZZLE_X)); in util_make_fs_pack_color_zs() 1052 ureg_scalar(ureg_src(depth), TGSI_SWIZZLE_X)); in util_make_fs_pack_color_zs() 1069 ureg_scalar(ureg_src(stencil), TGSI_SWIZZLE_X)); in util_make_fs_pack_color_zs() 1165 ureg_scalar(invocationID, TGSI_SWIZZLE_X)); in util_make_tess_ctrl_passthrough_shader() 1170 struct ureg_src addr_x = ureg_scalar(ureg_src(addr), TGSI_SWIZZLE_X); in util_make_tess_ctrl_passthrough_shader()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi.c | 1215 (write_mask & TGSI_WRITEMASK_X) ? TGSI_SWIZZLE_X : first_chan, in ntt_swizzle_for_write_mask() 1482 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in ntt_emit_alu() 1491 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z, in ntt_emit_alu() 1492 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X)); in ntt_emit_alu() 1551 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in ntt_emit_alu() 1577 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in ntt_emit_alu() 1615 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in ntt_emit_alu() 1619 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in ntt_emit_alu() 1625 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z, in ntt_emit_alu() 1626 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z)); in ntt_emit_alu() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_aos.c | 576 … tmp0 = lp_build_swizzle_scalar_aos(&bld->bld_base.base, src0, TGSI_SWIZZLE_X, TGSI_NUM_CHANNELS); in lp_emit_instruction_aos() 582 tmp0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos() 588 src0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos() 590 src1 = swizzle_scalar_aos(bld, src1, TGSI_SWIZZLE_X); in lp_emit_instruction_aos() 596 tmp0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos() 643 tmp0 = swizzle_scalar_aos(bld, src0, TGSI_SWIZZLE_X); in lp_emit_instruction_aos()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_aapoint.c | 223 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, in aa_transform_prolog() 241 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, in aa_transform_prolog() 273 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, true); in aa_transform_prolog() 284 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, in aa_transform_prolog()
|
D | draw_pipe_aaline.c | 209 TGSI_SWIZZLE_X, TGSI_SWIZZLE_X, in aa_transform_epilog() 223 TGSI_SWIZZLE_X, in aa_transform_epilog()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_compositor_gfx.c | 107 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 111 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader() 115 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); in create_vert_shader() 179 TGSI_SWIZZLE_X, j ? TGSI_SWIZZLE_Z : TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W); in create_frag_shader_weave() 230 ureg_src(temp[0]), ureg_scalar(lumakey, TGSI_SWIZZLE_X)); in create_frag_shader_csc()
|
D | vl_idct.c | 77 unsigned sw_start = right_side ? TGSI_SWIZZLE_Y : TGSI_SWIZZLE_X; in calc_addr() 80 unsigned sw_tc = right_side ? TGSI_SWIZZLE_X : TGSI_SWIZZLE_Y; in calc_addr() 136 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), in matrix_mul() 243 ureg_scalar(ureg_src(m[0][0]), TGSI_SWIZZLE_X)); in create_mismatch_frag_shader() 419 ureg_scalar(vrect, TGSI_SWIZZLE_X), in vl_idct_stage2_vert_shader()
|
D | vl_zscan.c | 167 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XW), ureg_scalar(block_num, TGSI_SWIZZLE_X), in create_vert_shader() 170 …reg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader() 529 sv_tmpl.swizzle_r = sv_tmpl.swizzle_g = sv_tmpl.swizzle_b = sv_tmpl.swizzle_a = TGSI_SWIZZLE_X; in vl_zscan_init_buffer()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | nine_shader.c | 1165 ureg_UCMP(ureg, tmp, ureg_scalar(tx->regs.vFace, TGSI_SWIZZLE_X), in tx_src_param() 1173 tx->regs.vFace = ureg_scalar(tx->regs.vFace, TGSI_SWIZZLE_X); in tx_src_param() 1684 TGSI_SWIZZLE_X, 0), in DECL_SPECIAL() 1685 ureg_swizzle(src1, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in DECL_SPECIAL() 1688 ureg_swizzle(src0, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in DECL_SPECIAL() 1691 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, 0)), in DECL_SPECIAL() 1797 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X); in DECL_SPECIAL() 1915 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X); in DECL_SPECIAL() 2005 ureg_IF(tx->ureg, ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), tx_cond(tx)); in DECL_SPECIAL() 2023 ureg_IF(tx->ureg, ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), tx_cond(tx)); in DECL_SPECIAL() [all …]
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_tgsi.c | 245 inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in virgl_tgsi_transform_prolog() 382 inst->Src[i].Register.SwizzleX = TGSI_SWIZZLE_X; in virgl_tgsi_transform_instruction()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_optimize.c | 154 if (write_mask & TGSI_WRITEMASK_X && r->Register.SwizzleX != TGSI_SWIZZLE_X) in is_unswizzled() 193 r->Register.SwizzleX = TGSI_SWIZZLE_X; in set_neutral_element_swizzle()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_shader_tokens.h | 668 TGSI_SWIZZLE_X, enumerator
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_surface.c | 944 tc = ureg_swizzle(tc, TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z, in nv50_blitter_make_fp() 954 ureg_scalar(ureg_src(data), TGSI_SWIZZLE_X)); in nv50_blitter_make_fp() 976 struct ureg_src zsrc = ureg_scalar(zsrc3, TGSI_SWIZZLE_X); in nv50_blitter_make_fp() 995 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z); in nv50_blitter_make_fp() 1000 ureg_MUL(ureg, outs, ssrc, ureg_scalar(scale, TGSI_SWIZZLE_X)); in nv50_blitter_make_fp()
|