/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_mc.c | 73 ureg_ADD(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), vpos, vrect); in calc_position() 74 ureg_MUL(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos), block_scale); in calc_position() 75 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos)); in calc_position() 76 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f)); in calc_position() 98 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), pos, ureg_imm1f(shader, 0.5f)); in calc_line() 99 ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp)); in calc_line() 100 ureg_SGE(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp), ureg_imm1f(shader, 0.5f)); in calc_line() 148 … ureg_MAD(shader, ureg_writemask(o_vmv[i], TGSI_WRITEMASK_XY), mv_scale, vmv[i], ureg_src(t_vpos)); in create_ref_vert_shader() 149 ureg_MUL(shader, ureg_writemask(o_vmv[i], TGSI_WRITEMASK_ZW), mv_scale, vmv[i]); in create_ref_vert_shader() 198 ureg_CMP(shader, ureg_writemask(ref, TGSI_WRITEMASK_XYZ), in create_ref_frag_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() 108 ureg_MOV(shader, ureg_writemask(daddr[0], wm_start), saddr[0]); in increment_addr() 109 ureg_ADD(shader, ureg_writemask(daddr[0], wm_tc), saddr[0], ureg_imm1f(shader, pos / size)); in increment_addr() 110 ureg_MOV(shader, ureg_writemask(daddr[1], wm_start), saddr[1]); in increment_addr() 111 ureg_ADD(shader, ureg_writemask(daddr[1], wm_tc), saddr[1], ureg_imm1f(shader, pos / size)); in increment_addr() 133 ureg_DP4(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_src(l[0]), ureg_src(r[0])); in matrix_mul() 134 ureg_DP4(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(l[1]), ureg_src(r[1])); in matrix_mul() [all …]
|
D | vl_zscan.c | 163 ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XY), vpos, vrect); in create_vert_shader() 164 ureg_MUL(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(tmp), scale); in create_vert_shader() 165 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f)); in create_vert_shader() 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() 171 ureg_FLR(shader, ureg_writemask(tmp, TGSI_WRITEMASK_W), ureg_src(tmp)); 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() 178 ureg_MAD(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_X), vrect, in create_vert_shader() 180 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Y), vrect); in create_vert_shader() 181 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Z), vpos); in create_vert_shader() [all …]
|
D | vl_compositor.c | 103 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), in create_vert_shader() 105 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), in create_vert_shader() 108 ureg_MOV(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_X), vtex); 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() 111 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 113 ureg_RCP(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_W), in create_vert_shader() 116 ureg_MOV(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_X), vtex); 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() 119 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 121 ureg_RCP(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_W), in create_vert_shader() [all …]
|
D | vl_deint_filter.c | 107 ureg_MOV(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_ZW), in create_copy_frag_shader() 110 ureg_MOV(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_ZW), in create_copy_frag_shader() 162 ureg_MOV(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_ZW), in create_deint_frag_shader() 176 …ureg_ADD(shader, ureg_writemask(t_diff, TGSI_WRITEMASK_X), ureg_src(t_a), ureg_negate(ureg_src(t_b… in create_deint_frag_shader() 180 …ureg_ADD(shader, ureg_writemask(t_diff, TGSI_WRITEMASK_Y), ureg_src(t_a), ureg_negate(ureg_src(t_b… in create_deint_frag_shader() 186 …ureg_ADD(shader, ureg_writemask(t_diff, TGSI_WRITEMASK_X), ureg_src(t_a), ureg_negate(ureg_src(t_b… in create_deint_frag_shader() 190 …ureg_ADD(shader, ureg_writemask(t_diff, TGSI_WRITEMASK_Y), ureg_src(t_a), ureg_negate(ureg_src(t_b… in create_deint_frag_shader() 194 ureg_MAX(shader, ureg_writemask(t_diff, TGSI_WRITEMASK_X), ureg_abs(ureg_src(t_diff)), in create_deint_frag_shader() 214 ureg_ADD(shader, ureg_writemask(t_diff, TGSI_WRITEMASK_X), ureg_src(t_diff), in create_deint_frag_shader() 216 ureg_MUL(shader, ureg_saturate(ureg_writemask(t_diff, TGSI_WRITEMASK_X)), in create_deint_frag_shader() [all …]
|
D | vl_bicubic_filter.c | 195 ureg_ADD(shader, ureg_writemask(t_array[21], TGSI_WRITEMASK_XY), in create_frag_shader() 197 ureg_MUL(shader, ureg_writemask(t_array[22], TGSI_WRITEMASK_XY), in create_frag_shader() 199 ureg_FRC(shader, ureg_writemask(t, TGSI_WRITEMASK_XY), in create_frag_shader() 202 ureg_FLR(shader, ureg_writemask(t_array[22], TGSI_WRITEMASK_XY), in create_frag_shader() 204 ureg_DIV(shader, ureg_writemask(t_array[22], TGSI_WRITEMASK_XY), in create_frag_shader() 206 ureg_ADD(shader, ureg_writemask(t_array[22], TGSI_WRITEMASK_XY), in create_frag_shader() 217 ureg_ADD(shader, ureg_writemask(t_array[i], TGSI_WRITEMASK_XY), in create_frag_shader() 219 ureg_MOV(shader, ureg_writemask(t_array[i], TGSI_WRITEMASK_ZW), in create_frag_shader()
|
D | vl_matrix_filter.c | 112 ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XY), in create_frag_shader() 114 ureg_MOV(shader, ureg_writemask(tmp, TGSI_WRITEMASK_ZW), in create_frag_shader()
|
D | vl_median_filter.c | 128 ureg_ADD(shader, ureg_writemask(t_array[i], TGSI_WRITEMASK_XY), in create_frag_shader() 130 ureg_MOV(shader, ureg_writemask(t_array[i], TGSI_WRITEMASK_ZW), in create_frag_shader()
|
D | vl_mpeg12_decoder.c | 1080 ureg_MOV(shader, ureg_writemask(o_vtex, TGSI_WRITEMASK_XY), ureg_src(tex)); in mc_vert_shader_callback()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_ff.c | 323 struct ureg_dst tmp_x = ureg_writemask(tmp, TGSI_WRITEMASK_X); in ureg_normalize3() 424 oFog = ureg_writemask(oFog, TGSI_WRITEMASK_X); in nine_ff_build_vs() 430 oPsz = ureg_writemask(oPsz, TGSI_WRITEMASK_X); in nine_ff_build_vs() 451 … ureg_ADD(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_XYZ), ureg_src(tmp), ureg_negate(_CONST(101))); in nine_ff_build_vs() 452 ureg_MUL(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_XYZ), ureg_src(tmp), _CONST(100)); in nine_ff_build_vs() 453 … ureg_ADD(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_XY), ureg_src(tmp), ureg_imm1f(ureg, -1.0f)); in nine_ff_build_vs() 455 ureg_MOV(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_negate(ureg_src(tmp))); in nine_ff_build_vs() 457 ureg_RCP(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_W), _W(tmp)); in nine_ff_build_vs() 459 ureg_MUL(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_XYZ), ureg_src(tmp), _W(tmp)); in nine_ff_build_vs() 565 … struct ureg_dst aVtx_dst = ureg_writemask(ureg_DECL_temporary(ureg), TGSI_WRITEMASK_XYZ); in nine_ff_build_vs() [all …]
|
D | nine_shader.c | 696 return ureg_writemask(tx_scratch(tx), TGSI_WRITEMASK_X); in tx_scratch_scalar() 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() 1308 dst = ureg_writemask(dst, param->mask); in _tx_dst_param() 1319 tx->regs.tdst = ureg_writemask(tx_scratch(tx), param->mask); in tx_dst_param() 1414 ureg_DP3(ureg, ureg_writemask(dst, m), src[0], src[1]); in NineTranslateInstruction_Mkxn() 1417 ureg_DP4(ureg, ureg_writemask(dst, m), src[0], src[1]); in NineTranslateInstruction_Mkxn() 1596 ureg_MUL(ureg, ureg_writemask(dst, TGSI_WRITEMASK_XYZ), in DECL_SPECIAL() 1601 ureg_MAD(ureg, ureg_writemask(dst, TGSI_WRITEMASK_XYZ), in DECL_SPECIAL() 1607 ureg_MOV(ureg, ureg_writemask(dst, TGSI_WRITEMASK_W), in DECL_SPECIAL() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_pbo.c | 318 ureg_I2F(ureg, ureg_writemask(out_pos, TGSI_WRITEMASK_Z), in st_pbo_create_vs() 322 ureg_MOV(ureg, ureg_writemask(out_layer, TGSI_WRITEMASK_X), in st_pbo_create_vs() 365 ureg_F2I(ureg, ureg_writemask(out_layer, TGSI_WRITEMASK_X), in st_pbo_create_gs() 450 ureg_F2I(ureg, ureg_writemask(temp0, TGSI_WRITEMASK_XY), in create_fs() 456 ureg_UADD(ureg, ureg_writemask(temp0, TGSI_WRITEMASK_XY), in create_fs() 465 ureg_UMAD(ureg, ureg_writemask(temp0, TGSI_WRITEMASK_X), in create_fs() 472 ureg_UMAD(ureg, ureg_writemask(temp0, TGSI_WRITEMASK_X), in create_fs() 479 ureg_MOV(ureg, ureg_writemask(temp0, TGSI_WRITEMASK_W), ureg_imm1u(ureg, 0)); in create_fs() 488 ureg_F2I(ureg, ureg_writemask(temp1, TGSI_WRITEMASK_XY), pos); in create_fs() 491 ureg_MOV(ureg, ureg_writemask(temp1, TGSI_WRITEMASK_ZW), ureg_imm1u(ureg, 0)); in create_fs() [all …]
|
D | st_mesa_to_tgsi.c | 266 dst = ureg_writemask(dst, DstReg->WriteMask); in translate_dst() 551 ureg_COS(ureg, ureg_writemask(dst[0], TGSI_WRITEMASK_X), in compile_instruction() 553 ureg_SIN(ureg, ureg_writemask(dst[0], TGSI_WRITEMASK_Y), in compile_instruction() 560 ureg_MUL(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_XYZ), in compile_instruction() 565 ureg_MAD(ureg, ureg_writemask(dst[0], TGSI_WRITEMASK_XYZ), in compile_instruction() 590 ureg_MOV(ureg, ureg_writemask(temp, TGSI_WRITEMASK_XYZ), src[0]); in compile_instruction() 591 ureg_MOV(ureg, ureg_writemask(temp, TGSI_WRITEMASK_W), in compile_instruction() 676 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y), in emit_wpos_adjustment() 684 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y), in emit_wpos_adjustment() 888 t->outputs[i] = ureg_writemask(t->outputs[i], in st_translate_mesa_program() [all …]
|
D | st_atifs_to_tgsi.c | 381 dst[0] = ureg_writemask(dst[0], TGSI_WRITEMASK_W); in compile_instruction() 385 dst[0] = ureg_writemask(dst[0], TGSI_WRITEMASK_XYZ); in compile_instruction() 387 dst[0] = ureg_writemask(dst[0], dstMask); /* the enum values match */ in compile_instruction()
|
D | st_glsl_to_tgsi.cpp | 5619 dst = ureg_writemask(dst, dst_reg->writemask); in translate_dst() 5923 dst[0] = ureg_writemask(dst[0], inst->dst[0].writemask); in compile_tgsi_instruction() 6003 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y ), in emit_wpos_adjustment() 6011 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y ), in emit_wpos_adjustment() 6414 t->outputs[i] = ureg_writemask(t->outputs[i], TGSI_WRITEMASK_Z); in st_translate_program() 6420 t->outputs[i] = ureg_writemask(t->outputs[i], TGSI_WRITEMASK_Y); in st_translate_program() 6434 t->outputs[i] = ureg_writemask(t->outputs[i], TGSI_WRITEMASK_X); in st_translate_program() 6448 ureg_writemask(t->outputs[i], TGSI_WRITEMASK_YZW), in st_translate_program() 6450 t->outputs[i] = ureg_writemask(t->outputs[i], TGSI_WRITEMASK_X); in st_translate_program() 6494 ureg_U2F( t->ureg, ureg_writemask(temp, TGSI_WRITEMASK_X), t->systemValues[i]); in st_translate_program()
|
D | st_cb_drawpixels.c | 173 ureg_TEX(ureg, ureg_writemask(out_depth, TGSI_WRITEMASK_Z), in get_drawpix_z_stencil_program() 179 ureg_TEX(ureg, ureg_writemask(out_stencil, TGSI_WRITEMASK_Y), in get_drawpix_z_stencil_program()
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_tgsi.c | 159 ureg_MOV(ureg, ureg_writemask(temp0, TGSI_WRITEMASK_XY), pos); in linear_gradient() 161 ureg_writemask(temp0, TGSI_WRITEMASK_Z), in linear_gradient() 171 ureg_MOV(ureg, ureg_writemask(temp4, TGSI_WRITEMASK_X), ureg_src(temp1)); in linear_gradient() 172 ureg_MOV(ureg, ureg_writemask(temp4, TGSI_WRITEMASK_Y), ureg_src(temp2)); in linear_gradient() 210 ureg_MOV(ureg, ureg_writemask(temp0, TGSI_WRITEMASK_XY), pos); in radial_gradient() 212 ureg_writemask(temp0, TGSI_WRITEMASK_Z), in radial_gradient() 222 ureg_MOV(ureg, ureg_writemask(temp5, TGSI_WRITEMASK_X), ureg_src(temp1)); in radial_gradient() 223 ureg_MOV(ureg, ureg_writemask(temp5, TGSI_WRITEMASK_Y), ureg_src(temp2)); in radial_gradient() 414 ureg_writemask(tmp1, TGSI_WRITEMASK_W), in xrender_tex() 434 ureg_writemask(dst, TGSI_WRITEMASK_W), in xrender_tex() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_simple_shaders.c | 108 ureg_MOV(ureg, ureg_writemask(layer, TGSI_WRITEMASK_X), in util_make_vertex_passthrough_shader_with_so() 283 ureg_writemask(temp, writemask), in util_make_fragment_tex_shader_writemask() 286 ureg_load_tex(ureg, ureg_writemask(temp, writemask), tex, sampler, in util_make_fragment_tex_shader_writemask() 377 ureg_load_tex(ureg, ureg_writemask(depth, TGSI_WRITEMASK_Z), tex, sampler, in util_make_fragment_tex_shader_writedepth() 439 ureg_load_tex(ureg, ureg_writemask(depth, TGSI_WRITEMASK_Z), tex, in util_make_fragment_tex_shader_writedepthstencil() 441 ureg_load_tex(ureg, ureg_writemask(stencil, TGSI_WRITEMASK_Y), tex, in util_make_fragment_tex_shader_writedepthstencil() 494 ureg_load_tex(ureg, ureg_writemask(stencil, TGSI_WRITEMASK_Y), tex, in util_make_fragment_tex_shader_writestencil() 784 ureg_MOV(ureg, ureg_writemask(tmp_coord, TGSI_WRITEMASK_W), in util_make_fs_msaa_resolve() 860 ureg_MOV(ureg, ureg_writemask(tmp_coord[c], TGSI_WRITEMASK_W), in util_make_fs_msaa_resolve_bilinear()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_surface.c | 931 ureg_TEX(ureg, ureg_writemask(data, TGSI_WRITEMASK_X), in nv50_blitter_make_fp() 933 ureg_MOV(ureg, ureg_writemask(data, TGSI_WRITEMASK_Y), in nv50_blitter_make_fp() 939 ureg_TEX(ureg, ureg_writemask(data, mask), in nv50_blitter_make_fp() 948 struct ureg_dst zdst3 = ureg_writemask(data, TGSI_WRITEMASK_XYZ); in nv50_blitter_make_fp() 949 struct ureg_dst zdst = ureg_writemask(data, TGSI_WRITEMASK_X); in nv50_blitter_make_fp() 950 struct ureg_dst sdst = ureg_writemask(data, TGSI_WRITEMASK_Y); in nv50_blitter_make_fp() 964 outz = ureg_writemask(out, TGSI_WRITEMASK_XYZ); in nv50_blitter_make_fp() 965 outs = ureg_writemask(out, TGSI_WRITEMASK_W); in nv50_blitter_make_fp() 968 outz = ureg_writemask(out, TGSI_WRITEMASK_YZW); in nv50_blitter_make_fp() 969 outs = ureg_writemask(out, TGSI_WRITEMASK_X); in nv50_blitter_make_fp() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_program.c | 115 ureg_writemask( in fd_prog_blit()
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.h | 964 ureg_writemask( struct ureg_dst reg, in ureg_writemask() function
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.h | 895 ureg_writemask( struct ureg_dst reg, in ureg_writemask() function
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_shaders.c | 3459 ureg_MOV(ureg, ureg_writemask(layer, TGSI_WRITEMASK_X), in si_get_blit_vs()
|