Home
last modified time | relevance | path

Searched refs:TGSI_SWIZZLE_Z (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_emit.h170 TRANSLATE_SWIZZLE(TGSI_SWIZZLE_X,TGSI_SWIZZLE_Y,TGSI_SWIZZLE_Z,TGSI_SWIZZLE_W)
176 TRANSLATE_SWIZZLE(TGSI_SWIZZLE_Z,TGSI_SWIZZLE_Z,TGSI_SWIZZLE_Z,TGSI_SWIZZLE_Z)
Dsvga_tgsi_decl_sm30.c208 emit->ps_depth_pos.base.swizzle = TRANSLATE_SWIZZLE(TGSI_SWIZZLE_Z, in ps30_input()
209 TGSI_SWIZZLE_Z, in ps30_input()
210 TGSI_SWIZZLE_Z, in ps30_input()
Dsvga_tgsi_insn.c812 emit->arl_consts[i + 0].swizzle = TGSI_SWIZZLE_Z; in create_arl_consts()
891 return TGSI_SWIZZLE_Z; in common_immediate_swizzle()
1876 scalar(src0, TGSI_SWIZZLE_Z), in emit_tex()
1883 r_coord = scalar(src0, TGSI_SWIZZLE_Z); in emit_tex()
2629 scalar( src( log2_abs ), TGSI_SWIZZLE_Z ) ) ) in emit_log()
2634 scalar( src( log2_abs ), TGSI_SWIZZLE_Z ), in emit_log()
3104 scalar( emit->ps_depth_pos, TGSI_SWIZZLE_Z ), in emit_ps_preamble()
3130 scalar(src(emit->temp_pos), TGSI_SWIZZLE_Z) )) in emit_ps_postamble()
3777 emit->key.tex[unit].swizzle_b = TGSI_SWIZZLE_Z; in svga_shader_emit_instructions()
Dsvga_tgsi_vgpu10.c2344 reg.Register.SwizzleZ = TGSI_SWIZZLE_Z; in make_src_reg()
2471 case TGSI_SWIZZLE_Z: in get_swizzle()
2761 reg.Register.SwizzleZ = TGSI_SWIZZLE_Z; in make_immediate_reg_double()
3162 TGSI_SWIZZLE_Z : TGSI_SWIZZLE_Y; in emit_domain_shader_declarations()
6873 swizzle_src(src, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_X, TGSI_SWIZZLE_W); in emit_swap_r_b()
7098 scalar_src(&inst->Src[0], TGSI_SWIZZLE_Z); in emit_dst()
7382 scalar_src(&tmp_src, TGSI_SWIZZLE_Z); in emit_cond_discard()
8417 emit->key.tex[unit].swizzle_b != TGSI_SWIZZLE_Z || in begin_tex_swizzle()
11326 swizzle_src(&vp_xyzw, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W, in emit_vpos_instructions()
12700 emit->key.tex[unit].swizzle_b = TGSI_SWIZZLE_Z; in transform_fs_pstipple()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_point_sprite.c279 ts->point_ivp, TGSI_SWIZZLE_Z, in psprite_prolog()
280 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z); in psprite_prolog()
332 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z); in psprite_emit_vertex_inst()
352 TGSI_SWIZZLE_Z, in psprite_emit_vertex_inst()
388 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, in psprite_emit_vertex_inst()
Dtgsi_vpos.c75 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W); in write_vpos_prolog()
Dtgsi_aa_point.c181 TGSI_FILE_INPUT, texIn, TGSI_SWIZZLE_Z, true); in aa_prolog()
Dtgsi_ureg.h1082 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src_array_register()
1117 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src()
Dtgsi_lowering.c1236 new_inst.Src[1].Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_twoside()
1242 new_inst.Src[2].Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_twoside()
1276 ctx->imm.Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_decls()
1290 ctx->tmp[i].src.Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_decls()
Dtgsi_text.c585 brackets->ind_comp = TGSI_SWIZZLE_Z; in parse_register_bracket()
879 swizzle[i] = TGSI_SWIZZLE_Z; in parse_optional_swizzle()
Dtgsi_dump.c604 src->Register.SwizzleZ != TGSI_SWIZZLE_Z || in iter_instruction()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_mc.c205 ureg_IF(shader, ureg_scalar(ureg_src(ref), TGSI_SWIZZLE_Z), &label); in create_ref_frag_shader()
211 ureg_src(ref), ureg_scalar(ureg_src(ref), TGSI_SWIZZLE_Z)); in create_ref_frag_shader()
275 ureg_scalar(vpos, TGSI_SWIZZLE_Z), ureg_imm1f(shader, 0.5f)); in create_ycbcr_vert_shader()
291 ureg_negate(ureg_scalar(ureg_src(t_vtex), TGSI_SWIZZLE_Z)), in create_ycbcr_vert_shader()
298 ureg_negate(ureg_scalar(ureg_src(t_vtex), TGSI_SWIZZLE_Z)), in create_ycbcr_vert_shader()
357 ureg_scalar(flags, TGSI_SWIZZLE_Z)); in create_ycbcr_frag_shader()
360 ureg_src(tmp), ureg_scalar(flags, TGSI_SWIZZLE_Z)); in create_ycbcr_frag_shader()
Dvl_compositor_gfx.c179 TGSI_SWIZZLE_X, j ? TGSI_SWIZZLE_Z : TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W); in create_frag_shader_weave()
194 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z), in create_frag_shader_weave()
228 ureg_scalar(ureg_src(texel), TGSI_SWIZZLE_Z)); in create_frag_shader_csc()
333 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W)); in create_frag_shader_deint_yuv()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShaderTGSI.c386 { TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z }, //TGSI_WRITEMASK_Z
387 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z }, //TGSI_WRITEMASK_XZ
388 { TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z }, //TGSI_WRITEMASK_YZ
389 { TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X }, //TGSI_WRITEMASK_XYZ
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
1230 ureg_scalar(src, TGSI_SWIZZLE_Z)); in expand_unary_to_scalarf()
1461 tsrc.SwizzleZ = TGSI_SWIZZLE_Z; in Shader_tgsi_translate()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c254 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_Z, true); in aa_transform_prolog()
266 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_Z; in aa_transform_prolog()
279 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_Z, false); in aa_transform_prolog()
285 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_Z, false); in aa_transform_prolog()
Ddraw_pipe_aaline.c210 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z); in aa_transform_epilog()
225 TGSI_SWIZZLE_Z, false); in aa_transform_epilog()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_tgsi.c247 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_Z; in virgl_tgsi_transform_prolog()
248 inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_Z; in virgl_tgsi_transform_prolog()
384 inst->Src[i].Register.SwizzleZ = TGSI_SWIZZLE_Z; in virgl_tgsi_transform_instruction()
/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_tgsi.c284 TGSI_SWIZZLE_Z, in xrender_tex()
300 TGSI_SWIZZLE_Z, in xrender_tex()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c158 if (write_mask & TGSI_WRITEMASK_Z && r->Register.SwizzleZ != TGSI_SWIZZLE_Z) in is_unswizzled()
203 r->Register.SwizzleZ = TGSI_SWIZZLE_Z; in set_neutral_element_swizzle()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h670 TGSI_SWIZZLE_Z, enumerator
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_tgsi.c534 ureg_MOV(ureg, ureg_writemask(coord, TGSI_WRITEMASK_Z), ureg_scalar(blk, TGSI_SWIZZLE_Z)); in si_create_fmask_expand_cs()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c1199 … ureg_RCP(ureg, ureg_writemask(tmp, NINED3DSP_WRITEMASK_2), ureg_scalar(src, TGSI_SWIZZLE_Z)); in tx_src_param()
1683 ureg_swizzle(src0, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, 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()
1846 al_counter = ureg_scalar(src_ctr, TGSI_SWIZZLE_Z); in DECL_SPECIAL()
2788 …TEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Z)); in DECL_SPECIAL()
2889 …eg_MUL(ureg, ureg_writemask(r5, TGSI_WRITEMASK_X), r5r, ureg_scalar(ureg_src(r5), TGSI_SWIZZLE_Z)); in DECL_SPECIAL()
3751 … ureg_MUL(ureg, depth, ureg_src(depth), ureg_scalar(nine_get_position_input(tx), TGSI_SWIZZLE_Z)); in shader_add_ps_fog_stage()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_surface.c944 tc = ureg_swizzle(tc, TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z, in nv50_blitter_make_fp()
945 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z); in nv50_blitter_make_fp()
995 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z); in nv50_blitter_make_fp()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_pbo.c367 ureg_scalar(in_pos_vertex, TGSI_SWIZZLE_Z)); in st_pbo_create_gs()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c1217 (write_mask & TGSI_WRITEMASK_Z) ? TGSI_SWIZZLE_Z : first_chan, in ntt_swizzle_for_write_mask()
1491 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z, 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()

12