/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_bicubic_filter.c | 93 ureg_MUL(shader, temp[0], tex_b, ureg_imm1f(shader, 2.0f)); in create_frag_shader_cubic_interpolater() 95 ureg_MUL(shader, temp[1], tex_a, ureg_imm1f(shader, -1.0f)); in create_frag_shader_cubic_interpolater() 96 ureg_MAD(shader, temp[1], tex_c, ureg_imm1f(shader, 1.0f), in create_frag_shader_cubic_interpolater() 99 ureg_MUL(shader, temp[2], tex_a, ureg_imm1f(shader, 2.0f)); in create_frag_shader_cubic_interpolater() 100 ureg_MAD(shader, temp[2], tex_b, ureg_imm1f(shader, -5.0f), in create_frag_shader_cubic_interpolater() 102 ureg_MAD(shader, temp[2], tex_c, ureg_imm1f(shader, 4.0f), in create_frag_shader_cubic_interpolater() 104 ureg_MAD(shader, temp[2], tex_d, ureg_imm1f(shader, -1.0f), in create_frag_shader_cubic_interpolater() 107 ureg_MUL(shader, temp[3], tex_a, ureg_imm1f(shader, -1.0f)); in create_frag_shader_cubic_interpolater() 108 ureg_MAD(shader, temp[3], tex_b, ureg_imm1f(shader, 3.0f), in create_frag_shader_cubic_interpolater() 110 ureg_MAD(shader, temp[3], tex_c, ureg_imm1f(shader, -3.0f), in create_frag_shader_cubic_interpolater() [all …]
|
D | vl_mc.c | 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() 100 ureg_SGE(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp), ureg_imm1f(shader, 0.5f)); in calc_line() 208 ureg_src(ref), ureg_imm1f(shader, y_scale)); in create_ref_frag_shader() 213 ureg_src(ref), ureg_imm1f(shader, 1.0f / y_scale)); in create_ref_frag_shader() 275 ureg_scalar(vpos, TGSI_SWIZZLE_Z), ureg_imm1f(shader, 0.5f)); in create_ycbcr_vert_shader() 276 ureg_MOV(shader, ureg_writemask(o_flags, TGSI_WRITEMASK_W), ureg_imm1f(shader, -1.0f)); in create_ycbcr_vert_shader() 286 ureg_scalar(vpos, TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.5f)); in create_ycbcr_vert_shader() 299 ureg_imm1f(shader, 0.0f), ureg_imm1f(shader, 1.0f)); in create_ycbcr_vert_shader() 356 ureg_src(tmp), ureg_imm1f(shader, scale), in create_ycbcr_frag_shader() [all …]
|
D | vl_idct.c | 91 …ureg_ADD(shader, ureg_writemask(addr[1], wm_start), ureg_scalar(start, sw_start), ureg_imm1f(shade… in calc_addr() 109 ureg_ADD(shader, ureg_writemask(daddr[0], wm_tc), saddr[0], ureg_imm1f(shader, pos / size)); in increment_addr() 111 ureg_ADD(shader, ureg_writemask(daddr[1], wm_tc), saddr[1], ureg_imm1f(shader, pos / size)); in increment_addr() 179 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f)); in create_mismatch_vert_shader() 234 ureg_DP4(shader, m[0][0], ureg_abs(ureg_src(m[0][0])), ureg_imm1f(shader, 1 << 14)); in create_mismatch_frag_shader() 236 …reg_writemask(m[0][0], TGSI_WRITEMASK_W), ureg_abs(ureg_src(m[7][1])), ureg_imm1f(shader, 1 << 14)… in create_mismatch_frag_shader() 238 ureg_SGT(shader, m[0][0], ureg_imm1f(shader, 0.5f), ureg_abs(ureg_src(m[0][0]))); in create_mismatch_frag_shader() 241 ureg_imm1f(shader, 1.0f / (1 << 15)), ureg_imm1f(shader, -1.0f / (1 << 15))); in create_mismatch_frag_shader() 305 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f)); in create_stage1_vert_shader() 310 calc_addr(shader, o_r_addr, vrect, ureg_imm1f(shader, 0.0f), true, true, VL_BLOCK_WIDTH / 4); in create_stage1_vert_shader() [all …]
|
D | vl_compositor_gfx.c | 101 ureg_scalar(vtex, TGSI_SWIZZLE_W), ureg_imm1f(shader, 0.5f)); in create_vert_shader() 103 ureg_scalar(vtex, TGSI_SWIZZLE_W), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 107 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 109 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.25f)); in create_vert_shader() 115 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); in create_vert_shader() 117 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, -0.25f)); in create_vert_shader() 159 i_tc[i], ureg_imm1f(shader, -0.5f)); in create_frag_shader_weave() 162 ureg_imm1f(shader, i ? 1.0f : 0.0f)); in create_frag_shader_weave() 164 ureg_src(t_tc[i]), ureg_imm1f(shader, 0.5f)); in create_frag_shader_weave() 192 ureg_abs(ureg_src(t_tc[0])), ureg_imm1f(shader, 2.0f)); in create_frag_shader_weave() [all …]
|
D | vl_zscan.c | 165 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f)); in create_vert_shader() 168 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line)); in create_vert_shader() 175 ureg_imm1f(shader, 1.0f / (zscan->blocks_per_line * VL_BLOCK_WIDTH) in create_vert_shader() 179 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line), ureg_src(tmp)); in create_vert_shader() 183 ureg_imm1f(shader, (float)zscan->blocks_per_line / zscan->blocks_total)); in create_vert_shader() 243 ureg_MUL(shader, quant, ureg_src(quant), ureg_imm1f(shader, 16.0f)); in create_frag_shader()
|
D | vl_matrix_filter.c | 106 ureg_MOV(shader, t_sum, ureg_imm1f(shader, 0.0f)); in create_frag_shader() 115 ureg_imm1f(shader, 0.0f)); in create_frag_shader() 120 ureg_MAD(shader, t_sum, ureg_src(tmp), ureg_imm1f(shader, matrix_values[i]), in create_frag_shader()
|
D | vl_deint_filter.c | 111 ureg_imm1f(shader, 0)); in create_copy_frag_shader() 163 ureg_imm1f(shader, 0)); in create_deint_frag_shader()
|
D | vl_median_filter.c | 131 ureg_imm1f(shader, 0.0f)); in create_frag_shader()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | nine_ff.c | 375 vs->aNrm = ureg_imm1f(ureg, 0.0f); in nine_ff_build_vs() 379 vs->aCol[0] = ureg_imm1f(ureg, 1.0f); in nine_ff_build_vs() 380 vs->aCol[1] = ureg_imm1f(ureg, 0.0f); in nine_ff_build_vs() 455 … ureg_ADD(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_XY), ureg_src(tmp), ureg_imm1f(ureg, -1.0f)); in nine_ff_build_vs() 460 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_W), ureg_imm1f(ureg, 1.0f)); in nine_ff_build_vs() 481 ureg_MAD(ureg, tmp, vs->aInd, ureg_imm1f(ureg, 4.0f), ureg_imm1f(ureg, 160.0f)); in nine_ff_build_vs() 611 ureg_CMP(ureg, tmp_y, ureg_negate(_Y(tmp)), _Y(tmp), ureg_imm1f(ureg, 0.0f)); in nine_ff_build_vs() 653 ureg_MOV(ureg, ureg_writemask(input_coord, TGSI_WRITEMASK_W), ureg_imm1f(ureg, 1.0f)); in nine_ff_build_vs() 658 ureg_MOV(ureg, ureg_writemask(input_coord, TGSI_WRITEMASK_W), ureg_imm1f(ureg, 1.0f)); in nine_ff_build_vs() 669 ureg_MOV(ureg, ureg_writemask(input_coord, TGSI_WRITEMASK_W), ureg_imm1f(ureg, 1.0f)); in nine_ff_build_vs() [all …]
|
D | nine_shader.c | 766 ureg_imm1f(tx->ureg, b ? 1.0f : 0.0f); in tx_set_lconstb() 831 struct ureg_src src_tg4[3] = {src0, ureg_imm1f(tx->ureg, 0.f), src1}; in TEX_if_fetch4() 1112 ureg_MIN(ureg, tmp, src, ureg_imm1f(ureg, 1.0f)); in tx_src_param() 1113 ureg_MAX(ureg, tmp, ureg_src(tmp), ureg_imm1f(ureg, -1.0f)); in tx_src_param() 1122 src = ureg_imm1f(ureg, 0.0f); in tx_src_param() 1166 ureg_imm1f(ureg, 1), ureg_imm1f(ureg, -1)); in tx_src_param() 1226 ureg_ADD(ureg, tmp, src, ureg_imm1f(ureg, -0.5f)); in tx_src_param() 1231 ureg_ADD(ureg, tmp, ureg_imm1f(ureg, 0.5f), ureg_negate(src)); in tx_src_param() 1242 ureg_ADD(ureg, tmp, ureg_imm1f(ureg, 1.0f), ureg_negate(src)); in tx_src_param() 1248 ureg_ADD(ureg, tmp, ureg_imm1f(ureg, 1.0f), ureg_negate(src)); in tx_src_param() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_simple_shaders.c | 734 ureg_MOV(ureg, tmp_sum, ureg_imm1f(ureg, 0)); in util_make_fs_msaa_resolve() 754 ureg_imm1f(ureg, 1.0 / nr_samples)); in util_make_fs_msaa_resolve() 801 ureg_MOV(ureg, tmp_sum[c], ureg_imm1f(ureg, 0)); in util_make_fs_msaa_resolve_bilinear() 832 ureg_imm1f(ureg, 1.0 / nr_samples)); in util_make_fs_msaa_resolve_bilinear()
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | ShaderTGSI.c | 1345 ureg_imm1f(ureg, 2147483648.0f)); in Shader_tgsi_translate() 1369 ureg_imm1f(ureg, 4294967296.0f)); in Shader_tgsi_translate() 1375 ureg_imm1f(ureg, 0.0f), in Shader_tgsi_translate() 1618 ureg_imm1f(ureg, 0.0f)); in Shader_tgsi_translate()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi.c | 856 ntt_SGE(c, temp, decl, ureg_imm1f(c->ureg, 0)); in ntt_setup_inputs() 1545 ntt_AND(c, dst, src[0], ureg_imm1f(c->ureg, 1.0)); in ntt_emit_alu() 1558 ntt_DSNE(c, dst, src[0], ureg_imm1f(c->ureg, 0)); in ntt_emit_alu() 1560 ntt_FSNE(c, dst, src[0], ureg_imm1f(c->ureg, 0)); in ntt_emit_alu() 2422 ntt_AND(c, temp, cond, ureg_imm1f(c->ureg, 1.0)); in ntt_emit_intrinsic()
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.h | 410 ureg_imm1f( struct ureg_program *ureg, in ureg_imm1f() function
|