Home
last modified time | relevance | path

Searched refs:TGSI_SWIZZLE_Z (Results 1 – 25 of 36) 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()
3034 scalar( emit->ps_depth_pos, TGSI_SWIZZLE_Z ), in emit_ps_preamble()
3060 scalar(src(emit->temp_pos), TGSI_SWIZZLE_Z) )) in emit_ps_postamble()
3706 emit->key.tex[unit].swizzle_b = TGSI_SWIZZLE_Z; in svga_shader_emit_instructions()
Dsvga_tgsi_vgpu10.c1378 reg.Register.SwizzleZ = TGSI_SWIZZLE_Z; in make_src_reg()
1482 case TGSI_SWIZZLE_Z: in get_swizzle()
3380 swizzle_src(src, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_X, TGSI_SWIZZLE_W); in emit_swap_r_b()
3605 scalar_src(&inst->Src[0], TGSI_SWIZZLE_Z); in emit_dst()
3854 scalar_src(&tmp_src, TGSI_SWIZZLE_Z); in emit_kill_if()
4835 emit->key.tex[unit].swizzle_b != TGSI_SWIZZLE_Z || in begin_tex_swizzle()
5708 swizzle_src(&vp_xyzw, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W, in emit_vpos_instructions()
6451 emit->key.tex[unit].swizzle_b = TGSI_SWIZZLE_Z; in transform_fs_pstipple()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_point_sprite.c259 ts->point_ivp, TGSI_SWIZZLE_Z, in psprite_prolog()
260 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z); in psprite_prolog()
312 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z); in psprite_emit_vertex_inst()
332 TGSI_SWIZZLE_Z, in psprite_emit_vertex_inst()
368 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, in psprite_emit_vertex_inst()
Dtgsi_aa_point.c173 TGSI_FILE_INPUT, texIn, TGSI_SWIZZLE_Z, true); in aa_prolog()
Dtgsi_ureg.h1062 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src_array_register()
1097 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/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.c182 TGSI_SWIZZLE_X, j ? TGSI_SWIZZLE_Z : TGSI_SWIZZLE_Y, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W); in create_frag_shader_weave()
197 TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z), in create_frag_shader_weave()
231 ureg_scalar(ureg_src(texel), TGSI_SWIZZLE_Z)); in create_frag_shader_csc()
336 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W, TGSI_SWIZZLE_W)); in create_frag_shader_deint_yuv()
/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.h1086 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src_register()
1114 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tgsi.c181 ureg_MUL(ureg, temp2, ureg_src(temp1), ureg_scalar(coords, TGSI_SWIZZLE_Z)); in linear_gradient()
238 ureg_MUL(ureg, temp2, ureg_scalar(coords, TGSI_SWIZZLE_Z), ureg_src(temp4)); in radial_gradient()
247 ureg_scalar(coords, TGSI_SWIZZLE_Z), in radial_gradient()
248 ureg_scalar(coords, TGSI_SWIZZLE_Z)); in radial_gradient()
409 TGSI_SWIZZLE_Z, in xrender_tex()
425 TGSI_SWIZZLE_Z, in xrender_tex()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c252 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_Z, true); in aa_transform_prolog()
264 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_Z; in aa_transform_prolog()
277 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_Z, false); in aa_transform_prolog()
283 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_Z, false); in aa_transform_prolog()
/external/mesa3d/src/mesa/state_tracker/
Dst_mesa_to_tgsi.c561 ureg_swizzle(src[0], TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, in compile_instruction()
563 ureg_swizzle(src[1], TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in compile_instruction()
566 ureg_swizzle(src[0], TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in compile_instruction()
569 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, 0)), in compile_instruction()
Dst_pbo.c366 ureg_scalar(in_pos_vertex, TGSI_SWIZZLE_Z)); in st_pbo_create_gs()
466 ureg_scalar(const0, TGSI_SWIZZLE_Z), in create_fs()
504 ureg_scalar(ureg_src(temp1), TGSI_SWIZZLE_Z), in create_fs()
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_cb_bitmap_shader.c120 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_Z; in transform_instr()
Dst_tgsi_lower_yuv.c164 ctx->imm[idx].Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_immed()
235 ctx->tmp[i].src.Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_decls()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_compiler.c514 src->SwizzleZ = TGSI_SWIZZLE_Z; in src_from_dst()
645 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_W, in get_immediate()
717 tmp_src.SwizzleW = TGSI_SWIZZLE_Z; in translate_pow()
755 [TGSI_SWIZZLE_Z] = "zzzz", in translate_tex()
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h623 #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/include/pipe/
Dp_shader_tokens.h660 TGSI_SWIZZLE_Z, enumerator
/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_shader.c1124 … ureg_RCP(ureg, ureg_writemask(tmp, NINED3DSP_WRITEMASK_2), ureg_scalar(src, TGSI_SWIZZLE_Z)); in tx_src_param()
1597 ureg_swizzle(src0, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z, in DECL_SPECIAL()
1599 ureg_swizzle(src1, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in DECL_SPECIAL()
1602 ureg_swizzle(src0, TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, in DECL_SPECIAL()
1605 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_X, 0)), in DECL_SPECIAL()
1754 al_counter = ureg_scalar(src_ctr, TGSI_SWIZZLE_Z); in DECL_SPECIAL()
2631 …TEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Z)); in DECL_SPECIAL()
2730 …eg_MUL(ureg, ureg_writemask(r5, TGSI_WRITEMASK_X), r5r, ureg_scalar(ureg_src(r5), TGSI_SWIZZLE_Z)); in DECL_SPECIAL()
3459 depth = ureg_scalar(depth, TGSI_SWIZZLE_Z); in shader_add_ps_fog_stage()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_surface.c924 tc = ureg_swizzle(tc, TGSI_SWIZZLE_X, TGSI_SWIZZLE_Z, in nv50_blitter_make_fp()
925 TGSI_SWIZZLE_Z, TGSI_SWIZZLE_Z); in nv50_blitter_make_fp()
971 TGSI_SWIZZLE_X, TGSI_SWIZZLE_Y, TGSI_SWIZZLE_Z); in nv50_blitter_make_fp()

12