Home
last modified time | relevance | path

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

12

/external/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.c814 emit->arl_consts[i + 0].swizzle = TGSI_SWIZZLE_Z; in create_arl_consts()
893 return TGSI_SWIZZLE_Z; in common_immediate_swizzle()
1877 scalar(src0, TGSI_SWIZZLE_Z), in emit_tex()
1884 r_coord = scalar(src0, TGSI_SWIZZLE_Z); in emit_tex()
2563 scalar( src( log2_abs ), TGSI_SWIZZLE_Z ) ) ) in emit_log()
2568 scalar( src( log2_abs ), TGSI_SWIZZLE_Z ), in emit_log()
3035 scalar( emit->ps_depth_pos, TGSI_SWIZZLE_Z ), in emit_ps_preamble()
3061 scalar(src(emit->temp_pos), TGSI_SWIZZLE_Z) )) in emit_ps_postamble()
3707 emit->key.tex[unit].swizzle_b = TGSI_SWIZZLE_Z; in svga_shader_emit_instructions()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_point_sprite.c260 ts->point_ivp, TGSI_SWIZZLE_Z, in psprite_prolog()
261 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z); in psprite_prolog()
313 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z); in psprite_emit_vertex_inst()
333 TGSI_SWIZZLE_Z, in psprite_emit_vertex_inst()
369 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.c173 TGSI_FILE_INPUT, texIn, TGSI_SWIZZLE_Z, true); in aa_prolog()
Dtgsi_ureg.h1098 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src_array_register()
1133 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()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_scan.c192 (src->Register.SwizzleX == TGSI_SWIZZLE_Z || in tgsi_scan_shader()
193 src->Register.SwizzleY == TGSI_SWIZZLE_Z || in tgsi_scan_shader()
194 src->Register.SwizzleZ == TGSI_SWIZZLE_Z || in tgsi_scan_shader()
195 src->Register.SwizzleW == TGSI_SWIZZLE_Z)) { in tgsi_scan_shader()
525 src->Register.SwizzleZ != TGSI_SWIZZLE_Z || in tgsi_is_passthrough_shader()
Dtgsi_ureg.h1093 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src_register()
1121 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src()
/external/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()
/external/mesa3d/src/mesa/state_tracker/
Dst_tgsi_lower_depth_clamp.c156 inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_Z; in epilog_last_vertex_stage()
181 TGSI_SWIZZLE_Z, in epilog_last_vertex_stage()
268 src0_swizzle = TGSI_SWIZZLE_Z; in epilog_fs()
Dst_mesa_to_tgsi.c573 ureg_swizzle(src[0], TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, in compile_instruction()
575 ureg_swizzle(src[1], TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in compile_instruction()
578 ureg_swizzle(src[0], TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in compile_instruction()
581 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, 0)), in compile_instruction()
Dst_cb_bitmap_shader.c119 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_Z; in transform_instr()
Dst_atifs_to_tgsi.c98 TGSI_SWIZZLE_Z); in apply_swizzle()
111 imm[0] = ureg_scalar(src, TGSI_SWIZZLE_Z); in apply_swizzle()
167 src = ureg_scalar(src, TGSI_SWIZZLE_Z); in prepare_argument()
236 src[1] = ureg_scalar(args[2], TGSI_SWIZZLE_Z); in emit_special_inst()
Dst_tgsi_lower_yuv.c163 ctx->imm[idx].Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_immed()
234 ctx->tmp[i].src.Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_decls()
/external/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()
/external/mesa3d/src/gallium/frontends/xa/
Dxa_tgsi.c284 TGSI_SWIZZLE_Z, in xrender_tex()
300 TGSI_SWIZZLE_Z, in xrender_tex()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h675 TGSI_SWIZZLE_Z, enumerator
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h657 #define TGSI_SWIZZLE_Z 2 macro
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c166 if ( write_mask & TGSI_WRITEMASK_Z && r->Register.SwizzleZ != TGSI_SWIZZLE_Z) in is_unswizzled()
209 r->Register.SwizzleZ = TGSI_SWIZZLE_Z; in set_neutral_element_swizzle()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c1179 … ureg_RCP(ureg, ureg_writemask(tmp, NINED3DSP_WRITEMASK_2), ureg_scalar(src, TGSI_SWIZZLE_Z)); in tx_src_param()
1663 ureg_swizzle(src0, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, in DECL_SPECIAL()
1665 ureg_swizzle(src1, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in DECL_SPECIAL()
1668 ureg_swizzle(src0, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in DECL_SPECIAL()
1671 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, 0)), in DECL_SPECIAL()
1826 al_counter = ureg_scalar(src_ctr, TGSI_SWIZZLE_Z); in DECL_SPECIAL()
2769 …TEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Z)); in DECL_SPECIAL()
2870 …eg_MUL(ureg, ureg_writemask(r5, TGSI_WRITEMASK_X), r5r, ureg_scalar(ureg_src(r5), TGSI_SWIZZLE_Z)); in DECL_SPECIAL()
3722 … ureg_MUL(ureg, depth, ureg_src(depth), ureg_scalar(nine_get_position_input(tx), TGSI_SWIZZLE_Z)); in shader_add_ps_fog_stage()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_tgsi.c739 ureg_MOV(ureg, ureg_writemask(coord, TGSI_WRITEMASK_Z), ureg_scalar(blk, TGSI_SWIZZLE_Z)); in si_create_fmask_expand_cs()

12