/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_tgsi.c | 119 ureg_MUL(ureg, dst, ureg_scalar(src, TGSI_SWIZZLE_W), mask); in src_in_mask() 122 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_X)); in src_in_mask() 124 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_W)); in src_in_mask() 162 ureg_scalar(const0124, TGSI_SWIZZLE_Y)); in linear_gradient() 175 ureg_scalar(coords, TGSI_SWIZZLE_Y), in linear_gradient() 176 ureg_scalar(ureg_src(temp4), TGSI_SWIZZLE_Y)); in linear_gradient() 178 ureg_scalar(coords, TGSI_SWIZZLE_X), in linear_gradient() 179 ureg_scalar(ureg_src(temp4), TGSI_SWIZZLE_X), ureg_src(temp0)); in linear_gradient() 181 ureg_MUL(ureg, temp2, ureg_src(temp1), ureg_scalar(coords, TGSI_SWIZZLE_Z)); in linear_gradient() 213 ureg_scalar(const0124, TGSI_SWIZZLE_Y)); in radial_gradient() [all …]
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_mc.c | 199 ureg_negate(ureg_scalar(ureg_src(field), TGSI_SWIZZLE_Y)), in create_ref_frag_shader() 202 ureg_negate(ureg_scalar(ureg_src(field), TGSI_SWIZZLE_Y)), in create_ref_frag_shader() 205 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() 279 ureg_IF(shader, ureg_scalar(vpos, TGSI_SWIZZLE_W), &label); in create_ycbcr_vert_shader() 282 ureg_negate(ureg_scalar(vrect, TGSI_SWIZZLE_Y)), in create_ycbcr_vert_shader() 286 ureg_scalar(vpos, TGSI_SWIZZLE_Y), 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() 292 ureg_scalar(ureg_src(t_vtex), TGSI_SWIZZLE_X), in create_ycbcr_vert_shader() [all …]
|
D | vl_compositor.c | 103 ureg_scalar(vtex, TGSI_SWIZZLE_W), ureg_imm1f(shader, 0.5f)); in create_vert_shader() 105 ureg_scalar(vtex, TGSI_SWIZZLE_W), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 108 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 109 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 110 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 111 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 113 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader() 116 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 117 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); in create_vert_shader() 118 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() [all …]
|
D | vl_idct.c | 88 ureg_MOV(shader, ureg_writemask(addr[0], wm_start), ureg_scalar(start, sw_start)); in calc_addr() 89 ureg_MOV(shader, ureg_writemask(addr[0], wm_tc), ureg_scalar(tc, sw_tc)); in calc_addr() 91 …ureg_ADD(shader, ureg_writemask(addr[1], wm_start), ureg_scalar(start, sw_start), ureg_imm1f(shade… in calc_addr() 92 ureg_MOV(shader, ureg_writemask(addr[1], wm_tc), ureg_scalar(tc, sw_tc)); in calc_addr() 136 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), in matrix_mul() 137 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y)); 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 | 146 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XW), ureg_scalar(block_num, TGSI_SWIZZLE_X), in create_vert_shader() 149 …ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)… in create_vert_shader() 153 …ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), in create_vert_shader() 215 … ureg_MOV(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_Y), ureg_scalar(vtex[i], TGSI_SWIZZLE_W)); in create_frag_shader()
|
D | vl_bicubic_filter.c | 224 ureg_scalar(ureg_src(t), TGSI_SWIZZLE_X), t_array[16+i]); in create_frag_shader() 228 ureg_scalar(ureg_src(t), TGSI_SWIZZLE_Y), o_fragment); in create_frag_shader()
|
D | vl_deint_filter.c | 195 ureg_scalar(ureg_abs(ureg_src(t_diff)), TGSI_SWIZZLE_Y)); in create_deint_frag_shader() 220 ureg_MOV(shader, o_fragment, ureg_scalar(ureg_src(t_tex), TGSI_SWIZZLE_X)); in create_deint_frag_shader()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_pbo.c | 333 ureg_scalar(in_instanceid, TGSI_SWIZZLE_X)); in st_pbo_create_vs() 379 ureg_scalar(in_pos_vertex, TGSI_SWIZZLE_Z)); in st_pbo_create_gs() 381 ureg_EMIT(ureg, ureg_scalar(imm, TGSI_SWIZZLE_X)); in st_pbo_create_gs() 479 ureg_scalar(const0, TGSI_SWIZZLE_Z), in create_fs() 480 ureg_scalar(ureg_src(temp0), TGSI_SWIZZLE_Y), in create_fs() 481 ureg_scalar(ureg_src(temp0), TGSI_SWIZZLE_X)); in create_fs() 486 ureg_scalar(const0, TGSI_SWIZZLE_W), in create_fs() 487 ureg_scalar(layer, TGSI_SWIZZLE_X), in create_fs() 488 ureg_scalar(ureg_src(temp0), TGSI_SWIZZLE_X)); in create_fs() 512 ureg_MOV(ureg, temp1_layer, ureg_scalar(layer, TGSI_SWIZZLE_X)); in create_fs() [all …]
|
D | st_mesa_to_tgsi.c | 628 ureg_scalar(wpostrans, invert ? 2 : 0), in emit_wpos_adjustment() 652 ureg_scalar(wpostrans, 0), in emit_wpos_adjustment() 653 ureg_scalar(wpostrans, 1)); in emit_wpos_adjustment() 660 ureg_scalar(wpostrans, 2), in emit_wpos_adjustment() 661 ureg_scalar(wpostrans, 3)); in emit_wpos_adjustment() 946 t->systemValues[i] = ureg_scalar(ureg_src(temp), 0); in st_translate_mesa_program()
|
D | st_atifs_to_tgsi.c | 111 imm[0] = ureg_scalar(src, TGSI_SWIZZLE_Z); in apply_swizzle() 113 imm[0] = ureg_scalar(src, TGSI_SWIZZLE_W); in apply_swizzle() 161 src = ureg_scalar(src, TGSI_SWIZZLE_X); in prepare_argument() 164 src = ureg_scalar(src, TGSI_SWIZZLE_Y); in prepare_argument() 167 src = ureg_scalar(src, TGSI_SWIZZLE_Z); in prepare_argument() 170 src = ureg_scalar(src, TGSI_SWIZZLE_W); in prepare_argument() 237 src[1] = ureg_scalar(args[2], TGSI_SWIZZLE_Z); in emit_special_inst()
|
D | st_glsl_to_tgsi.cpp | 5760 ureg_scalar(wpostrans, invert ? 2 : 0), in emit_wpos_adjustment() 5784 ureg_scalar(wpostrans, 0), in emit_wpos_adjustment() 5785 ureg_scalar(wpostrans, 1)); in emit_wpos_adjustment() 5792 ureg_scalar(wpostrans, 2), in emit_wpos_adjustment() 5793 ureg_scalar(wpostrans, 3)); in emit_wpos_adjustment() 6258 t->systemValues[i] = ureg_scalar(ureg_src(temp), 0); in st_translate_program()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_shader.c | 706 src = ureg_scalar(src, c); in tx_src_scalar() 766 ureg_RCP(tx->ureg, tmp, ureg_scalar(src, dim-1)); in apply_ps1x_projection() 855 return ureg_scalar(ureg_src(tx->regs.rL[loop_level]), TGSI_SWIZZLE_Y); in tx_get_loopal() 1100 ureg_UCMP(ureg, tmp, ureg_scalar(tx->regs.vFace, TGSI_SWIZZLE_X), in tx_src_param() 1108 tx->regs.vFace = ureg_scalar(tx->regs.vFace, TGSI_SWIZZLE_X); in tx_src_param() 1660 cnd = ureg_scalar(cnd, TGSI_SWIZZLE_W); in DECL_SPECIAL() 1703 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X); in DECL_SPECIAL() 1746 al_counter = ureg_scalar(src_ctr, TGSI_SWIZZLE_Z); in DECL_SPECIAL() 1806 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X); in DECL_SPECIAL() 1896 ureg_IF(tx->ureg, ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), tx_cond(tx)); in DECL_SPECIAL() [all …]
|
D | nine_ff.c | 181 #define _X(r) ureg_scalar(ureg_src(r), TGSI_SWIZZLE_X) 182 #define _Y(r) ureg_scalar(ureg_src(r), TGSI_SWIZZLE_Y) 183 #define _Z(r) ureg_scalar(ureg_src(r), TGSI_SWIZZLE_Z) 184 #define _W(r) ureg_scalar(ureg_src(r), TGSI_SWIZZLE_W) 186 #define _XXXX(r) ureg_scalar(r, TGSI_SWIZZLE_X) 187 #define _YYYY(r) ureg_scalar(r, TGSI_SWIZZLE_Y) 188 #define _ZZZZ(r) ureg_scalar(r, TGSI_SWIZZLE_Z) 189 #define _WWWW(r) ureg_scalar(r, TGSI_SWIZZLE_W) 489 cWM[c] = ureg_src_indirect(cWM[c], ureg_scalar(ureg_src(AR), i)); in nine_ff_build_vs() 510 … ureg_MAD(ureg, aVtx_dst, ureg_src(tmp), ureg_scalar(vs->aWgt, i), ureg_src(aVtx_dst)); in nine_ff_build_vs() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_simple_shaders.c | 860 ureg_scalar(ureg_src(tmp), 0), in util_make_fs_msaa_resolve_bilinear() 865 ureg_scalar(ureg_src(tmp), 0), in util_make_fs_msaa_resolve_bilinear() 870 ureg_scalar(ureg_src(tmp), 1), in util_make_fs_msaa_resolve_bilinear()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_surface.c | 934 ureg_scalar(ureg_src(data), TGSI_SWIZZLE_X)); in nv50_blitter_make_fp() 952 struct ureg_src zsrc = ureg_scalar(zsrc3, TGSI_SWIZZLE_X); in nv50_blitter_make_fp() 953 struct ureg_src ssrc = ureg_scalar(zsrc3, TGSI_SWIZZLE_Y); in nv50_blitter_make_fp() 976 ureg_MUL(ureg, outs, ssrc, ureg_scalar(scale, TGSI_SWIZZLE_X)); in nv50_blitter_make_fp() 980 ureg_MUL(ureg, zdst, zsrc, ureg_scalar(scale, TGSI_SWIZZLE_W)); in nv50_blitter_make_fp()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.h | 1141 ureg_scalar( struct ureg_src reg, int x ) in ureg_scalar() function
|