/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) 178 TRANSLATE_SWIZZLE(TGSI_SWIZZLE_W,TGSI_SWIZZLE_W,TGSI_SWIZZLE_W,TGSI_SWIZZLE_W)
|
D | svga_tgsi_insn.c | 815 emit->arl_consts[i + 0].swizzle = TGSI_SWIZZLE_W; in create_arl_consts() 893 return TGSI_SWIZZLE_W; in common_immediate_swizzle() 1871 scalar(src0, TGSI_SWIZZLE_W) )) in emit_tex() 3098 scalar( emit->ps_depth_pos, TGSI_SWIZZLE_W ) )) in emit_ps_preamble() 3105 scalar( src(emit->ps_temp_pos), TGSI_SWIZZLE_W ) )) in emit_ps_preamble() 3207 scalar(src(temp_pos), TGSI_SWIZZLE_W) )) in emit_vs_postamble() 3778 emit->key.tex[unit].swizzle_a = TGSI_SWIZZLE_W; in svga_shader_emit_instructions()
|
D | svga_tgsi_vgpu10.c | 1706 swizzleX = swizzleY = swizzleZ = swizzleW = TGSI_SWIZZLE_W; in emit_src_register() 2345 reg.Register.SwizzleW = TGSI_SWIZZLE_W; in make_src_reg() 2360 assert(component <= TGSI_SWIZZLE_W); in make_src_scalar_reg() 2473 case TGSI_SWIZZLE_W: in get_swizzle() 2762 reg.Register.SwizzleW = TGSI_SWIZZLE_W; in make_immediate_reg_double() 6873 swizzle_src(src, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_X, TGSI_SWIZZLE_W); in emit_swap_r_b() 7102 scalar_src(&inst->Src[1], TGSI_SWIZZLE_W); in emit_dst() 7384 scalar_src(&tmp_src, TGSI_SWIZZLE_W); in emit_cond_discard() 7541 scalar_src(&inst->Src[0], TGSI_SWIZZLE_W); in emit_lit() 8418 emit->key.tex[unit].swizzle_a != TGSI_SWIZZLE_W); in begin_tex_swizzle() [all …]
|
D | svga_tgsi_decl_sm30.c | 211 TGSI_SWIZZLE_W); in ps30_input()
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_aa_point.c | 193 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_W, false); in aa_prolog() 200 TGSI_SWIZZLE_W, FALSE); in aa_prolog() 208 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_W, in aa_prolog() 209 TGSI_FILE_IMMEDIATE, imm, TGSI_SWIZZLE_W, false); in aa_prolog()
|
D | tgsi_point_sprite.c | 48 static const unsigned map[3] = {TGSI_SWIZZLE_W, TGSI_SWIZZLE_X, in set_swizzle() 318 TGSI_FILE_TEMPORARY, ts->point_pos_tmp, TGSI_SWIZZLE_W, false); in psprite_emit_vertex_inst() 389 TGSI_SWIZZLE_W); in psprite_emit_vertex_inst() 471 TGSI_FILE_CONSTANT, ts->point_ivp, TGSI_SWIZZLE_W, false); in psprite_inst()
|
D | tgsi_build.c | 839 src_register.SwizzleW = TGSI_SWIZZLE_W; in tgsi_default_src_register() 867 assert( swizzle_x <= TGSI_SWIZZLE_W ); in tgsi_build_src_register() 868 assert( swizzle_y <= TGSI_SWIZZLE_W ); in tgsi_build_src_register() 869 assert( swizzle_z <= TGSI_SWIZZLE_W ); in tgsi_build_src_register() 870 assert( swizzle_w <= TGSI_SWIZZLE_W ); in tgsi_build_src_register() 915 assert( swizzle <= TGSI_SWIZZLE_W ); in tgsi_build_ind_register()
|
D | tgsi_vpos.c | 75 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W); in write_vpos_prolog()
|
D | tgsi_ureg.h | 1083 src.SwizzleW = TGSI_SWIZZLE_W; in ureg_src_array_register() 1118 src.SwizzleW = TGSI_SWIZZLE_W; in ureg_src()
|
D | tgsi_lowering.c | 1237 new_inst.Src[1].Register.SwizzleW = TGSI_SWIZZLE_W; in emit_twoside() 1243 new_inst.Src[2].Register.SwizzleW = TGSI_SWIZZLE_W; in emit_twoside() 1277 ctx->imm.Register.SwizzleW = TGSI_SWIZZLE_W; in emit_decls() 1291 ctx->tmp[i].src.Register.SwizzleW = TGSI_SWIZZLE_W; in emit_decls()
|
D | tgsi_text.c | 588 brackets->ind_comp = TGSI_SWIZZLE_W; in parse_register_bracket() 881 swizzle[i] = TGSI_SWIZZLE_W; in parse_optional_swizzle()
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_tgsi.c | 122 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_W)); in src_in_mask() 277 TGSI_SWIZZLE_W)); in xrender_tex() 286 TGSI_SWIZZLE_W)); in xrender_tex() 290 ureg_scalar(*imm0, TGSI_SWIZZLE_W)); in xrender_tex() 302 TGSI_SWIZZLE_W)); in xrender_tex() 310 ureg_scalar(*imm0, TGSI_SWIZZLE_W)); in xrender_tex() 413 ureg_MOV(ureg, out, ureg_scalar(ureg_src(src), TGSI_SWIZZLE_W)); in create_fs()
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | ShaderTGSI.c | 390 { TGSI_SWIZZLE_W, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W }, //TGSI_WRITEMASK_W 391 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_W, TGSI_SWIZZLE_X, TGSI_SWIZZLE_W }, //TGSI_WRITEMASK_XW 392 { TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W }, //TGSI_WRITEMASK_YW 393 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W }, //TGSI_WRITEMASK_XYW 394 { TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W }, //TGSI_WRITEMASK_ZW 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 648 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_W)); in dcl_ps_siv_input() 1235 ureg_scalar(src, TGSI_SWIZZLE_W)); in expand_unary_to_scalarf() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_compositor_gfx.c | 101 ureg_scalar(vtex, TGSI_SWIZZLE_W), ureg_imm1f(shader, 0.5f)); in create_vert_shader() 103 ureg_scalar(vtex, TGSI_SWIZZLE_W), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 166 ureg_src(t_tc[i]), ureg_scalar(i_tc[0], TGSI_SWIZZLE_W)); in create_frag_shader_weave() 168 ureg_src(t_tc[i]), ureg_scalar(i_tc[1], TGSI_SWIZZLE_W)); in create_frag_shader_weave() 179 TGSI_SWIZZLE_X, j ? TGSI_SWIZZLE_Z : TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W); in create_frag_shader_weave() 333 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W)); in create_frag_shader_deint_yuv()
|
D | vl_mc.c | 279 ureg_IF(shader, ureg_scalar(vpos, TGSI_SWIZZLE_W), &label); in create_ycbcr_vert_shader() 343 ureg_scalar(flags, TGSI_SWIZZLE_W), ureg_src(tmp)); in create_ycbcr_frag_shader()
|
D | vl_zscan.c | 236 … ureg_MOV(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_Y), ureg_scalar(vtex[i], TGSI_SWIZZLE_W)); in create_frag_shader()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_aapoint.c | 242 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_W, false); in aa_transform_prolog() 253 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_W, in aa_transform_prolog() 272 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_W, in aa_transform_prolog() 296 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_W, in aa_transform_prolog() 297 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_W); in aa_transform_prolog()
|
D | draw_pipe_aaline.c | 213 TGSI_SWIZZLE_W, TGSI_SWIZZLE_W); in aa_transform_epilog()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_optimize.c | 160 if (write_mask & TGSI_WRITEMASK_W && r->Register.SwizzleW != TGSI_SWIZZLE_W) in is_unswizzled() 208 r->Register.SwizzleW = TGSI_SWIZZLE_W; in set_neutral_element_swizzle()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_pstipple.c | 358 TGSI_SWIZZLE_W, TRUE); in pstip_transform_prolog()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_shader_tokens.h | 671 TGSI_SWIZZLE_W, enumerator
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi.c | 480 assert(chan_index < TGSI_SWIZZLE_W); in lp_build_emit_fetch_texoffset()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | nine_ff.c | 183 #define _W(r) ureg_scalar(ureg_src(r), TGSI_SWIZZLE_W) 188 #define _WWWW(r) ureg_scalar(r, TGSI_SWIZZLE_W) 459 …ritemask(tmp, TGSI_WRITEMASK_W), ureg_negate(ureg_abs(ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_W))), in nine_ff_build_vs() 460 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_W), ureg_imm1f(ureg, 1.0f)); in nine_ff_build_vs() 1001 ureg_MOV(ureg, oFog, ureg_scalar(vs->aCol[1], TGSI_SWIZZLE_W)); in nine_ff_build_vs() 1199 (!(dst.WriteMask & TGSI_WRITEMASK_W) || (src.SwizzleW == TGSI_SWIZZLE_W))); in is_MOV_no_op()
|
D | nine_shader.c | 1192 … ureg_RCP(ureg, ureg_writemask(tmp, NINED3DSP_WRITEMASK_3), ureg_scalar(src, TGSI_SWIZZLE_W)); in tx_src_param() 1754 cnd = ureg_scalar(cnd, TGSI_SWIZZLE_W); in DECL_SPECIAL() 2849 … ureg_MOV(ureg, ureg_writemask(E, TGSI_WRITEMASK_X), ureg_scalar(tx->regs.vT[m], TGSI_SWIZZLE_W)); in DECL_SPECIAL() 2850 …ureg_MOV(ureg, ureg_writemask(E, TGSI_WRITEMASK_Y), ureg_scalar(tx->regs.vT[m+1], TGSI_SWIZZLE_W)); in DECL_SPECIAL() 2851 …ureg_MOV(ureg, ureg_writemask(E, TGSI_WRITEMASK_Z), ureg_scalar(tx->regs.vT[m+2], TGSI_SWIZZLE_W)); in DECL_SPECIAL() 3750 ureg_RCP(ureg, depth, ureg_scalar(nine_get_position_input(tx), TGSI_SWIZZLE_W)); in shader_add_ps_fog_stage()
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_tgsi.c | 385 inst->Src[i].Register.SwizzleW = TGSI_SWIZZLE_W; in virgl_tgsi_transform_instruction()
|