/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 | 104 ureg_scalar(vtex, TGSI_SWIZZLE_W), ureg_imm1f(shader, 0.5f)); in create_vert_shader() 106 ureg_scalar(vtex, TGSI_SWIZZLE_W), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 109 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 110 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 111 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 112 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 114 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader() 117 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 118 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); in create_vert_shader() 119 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 | 167 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XW), ureg_scalar(block_num, TGSI_SWIZZLE_X), in create_vert_shader() 170 …ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)… in create_vert_shader() 174 …ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), in create_vert_shader() 236 … 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 | 230 ureg_scalar(ureg_src(t), TGSI_SWIZZLE_X), t_array[16+i]); in create_frag_shader() 234 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 | 319 ureg_scalar(in_instanceid, TGSI_SWIZZLE_X)); in st_pbo_create_vs() 323 ureg_scalar(in_instanceid, TGSI_SWIZZLE_X)); in st_pbo_create_vs() 366 ureg_scalar(in_pos_vertex, TGSI_SWIZZLE_Z)); in st_pbo_create_gs() 368 ureg_EMIT(ureg, ureg_scalar(imm, TGSI_SWIZZLE_X)); in st_pbo_create_gs() 466 ureg_scalar(const0, TGSI_SWIZZLE_Z), in create_fs() 467 ureg_scalar(ureg_src(temp0), TGSI_SWIZZLE_Y), in create_fs() 468 ureg_scalar(ureg_src(temp0), TGSI_SWIZZLE_X)); in create_fs() 473 ureg_scalar(const0, TGSI_SWIZZLE_W), in create_fs() 474 ureg_scalar(layer, TGSI_SWIZZLE_X), in create_fs() 475 ureg_scalar(ureg_src(temp0), TGSI_SWIZZLE_X)); in create_fs() [all …]
|
D | st_mesa_to_tgsi.c | 552 ureg_scalar(src[0], TGSI_SWIZZLE_X)); in compile_instruction() 554 ureg_scalar(src[0], TGSI_SWIZZLE_X)); in compile_instruction() 654 ureg_scalar(wpostrans, invert ? 2 : 0), in emit_wpos_adjustment() 678 ureg_scalar(wpostrans, 0), in emit_wpos_adjustment() 679 ureg_scalar(wpostrans, 1)); in emit_wpos_adjustment() 686 ureg_scalar(wpostrans, 2), in emit_wpos_adjustment() 687 ureg_scalar(wpostrans, 3)); in emit_wpos_adjustment() 980 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() 236 src[1] = ureg_scalar(args[2], TGSI_SWIZZLE_Z); in emit_special_inst()
|
D | st_glsl_to_tgsi.cpp | 5981 ureg_scalar(wpostrans, invert ? 2 : 0), in emit_wpos_adjustment() 6005 ureg_scalar(wpostrans, 0), in emit_wpos_adjustment() 6006 ureg_scalar(wpostrans, 1)); in emit_wpos_adjustment() 6013 ureg_scalar(wpostrans, 2), in emit_wpos_adjustment() 6014 ureg_scalar(wpostrans, 3)); in emit_wpos_adjustment() 6495 t->systemValues[i] = ureg_scalar(ureg_src(temp), 0); in st_translate_program()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_shader.c | 705 src = ureg_scalar(src, c); in tx_src_scalar() 757 ureg_RCP(tx->ureg, tmp, ureg_scalar(src, dim-1)); in apply_ps1x_projection() 846 return ureg_scalar(ureg_src(tx->regs.rL[loop_level]), TGSI_SWIZZLE_Y); in tx_get_loopal() 1087 ureg_UCMP(ureg, tmp, ureg_scalar(tx->regs.vFace, TGSI_SWIZZLE_X), in tx_src_param() 1095 tx->regs.vFace = ureg_scalar(tx->regs.vFace, TGSI_SWIZZLE_X); in tx_src_param() 1117 … ureg_RCP(ureg, ureg_writemask(tmp, NINED3DSP_WRITEMASK_3), ureg_scalar(src, TGSI_SWIZZLE_W)); in tx_src_param() 1124 … ureg_RCP(ureg, ureg_writemask(tmp, NINED3DSP_WRITEMASK_2), ureg_scalar(src, TGSI_SWIZZLE_Z)); in tx_src_param() 1668 cnd = ureg_scalar(cnd, TGSI_SWIZZLE_W); in DECL_SPECIAL() 1711 ctrx = ureg_scalar(ureg_src(ctr), TGSI_SWIZZLE_X); in DECL_SPECIAL() 1754 al_counter = ureg_scalar(src_ctr, TGSI_SWIZZLE_Z); in DECL_SPECIAL() [all …]
|
D | nine_ff.c | 180 #define _X(r) ureg_scalar(ureg_src(r), TGSI_SWIZZLE_X) 181 #define _Y(r) ureg_scalar(ureg_src(r), TGSI_SWIZZLE_Y) 182 #define _Z(r) ureg_scalar(ureg_src(r), TGSI_SWIZZLE_Z) 183 #define _W(r) ureg_scalar(ureg_src(r), TGSI_SWIZZLE_W) 185 #define _XXXX(r) ureg_scalar(r, TGSI_SWIZZLE_X) 186 #define _YYYY(r) ureg_scalar(r, TGSI_SWIZZLE_Y) 187 #define _ZZZZ(r) ureg_scalar(r, TGSI_SWIZZLE_Z) 188 #define _WWWW(r) ureg_scalar(r, TGSI_SWIZZLE_W) 488 cWM[c] = ureg_src_indirect(cWM[c], ureg_scalar(ureg_src(AR), i)); in nine_ff_build_vs() 509 … 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 | 109 ureg_scalar(instance_id, TGSI_SWIZZLE_X)); in util_make_vertex_passthrough_shader_with_so() 883 ureg_scalar(ureg_src(tmp), 0), in util_make_fs_msaa_resolve_bilinear() 888 ureg_scalar(ureg_src(tmp), 0), in util_make_fs_msaa_resolve_bilinear() 893 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/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.h | 958 ureg_scalar( struct ureg_src reg, int x ) in ureg_scalar() function
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.h | 889 ureg_scalar( struct ureg_src reg, int x ) in ureg_scalar() function
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_shaders.c | 3460 ureg_scalar(instance_id, TGSI_SWIZZLE_X)); in si_get_blit_vs()
|