Home
last modified time | relevance | path

Searched refs:ureg_imm1f (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_bicubic_filter.c93 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 …]
Dvl_mc.c76 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 …]
Dvl_idct.c91 …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 …]
Dvl_compositor_gfx.c101 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 …]
Dvl_zscan.c165 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()
Dvl_matrix_filter.c106 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()
Dvl_deint_filter.c111 ureg_imm1f(shader, 0)); in create_copy_frag_shader()
163 ureg_imm1f(shader, 0)); in create_deint_frag_shader()
Dvl_median_filter.c131 ureg_imm1f(shader, 0.0f)); in create_frag_shader()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_ff.c373 vs->aNrm = ureg_imm1f(ureg, 0.0f); in nine_ff_build_vs()
377 vs->aCol[0] = ureg_imm1f(ureg, 1.0f); in nine_ff_build_vs()
378 vs->aCol[1] = ureg_imm1f(ureg, 0.0f); 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()
476 ureg_MAD(ureg, tmp, vs->aInd, ureg_imm1f(ureg, 4.0f), ureg_imm1f(ureg, 160.0f)); in nine_ff_build_vs()
606 ureg_CMP(ureg, tmp_y, ureg_negate(_Y(tmp)), _Y(tmp), ureg_imm1f(ureg, 0.0f)); in nine_ff_build_vs()
648 ureg_MOV(ureg, ureg_writemask(input_coord, TGSI_WRITEMASK_W), ureg_imm1f(ureg, 1.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()
664 ureg_MOV(ureg, ureg_writemask(input_coord, TGSI_WRITEMASK_W), ureg_imm1f(ureg, 1.0f)); in nine_ff_build_vs()
684 … ureg_MUL(ureg, ureg_writemask(tmp2, TGSI_WRITEMASK_X), ureg_src(tmp2), ureg_imm1f(ureg, 0.5f)); in nine_ff_build_vs()
[all …]
Dnine_shader.c766 ureg_imm1f(tx->ureg, b ? 1.0f : 0.0f); in tx_set_lconstb()
1092 ureg_MIN(ureg, tmp, src, ureg_imm1f(ureg, 1.0f)); in tx_src_param()
1093 ureg_MAX(ureg, tmp, ureg_src(tmp), ureg_imm1f(ureg, -1.0f)); in tx_src_param()
1102 src = ureg_imm1f(ureg, 0.0f); in tx_src_param()
1146 ureg_imm1f(ureg, 1), ureg_imm1f(ureg, -1)); in tx_src_param()
1206 ureg_ADD(ureg, tmp, src, ureg_imm1f(ureg, -0.5f)); in tx_src_param()
1211 ureg_ADD(ureg, tmp, ureg_imm1f(ureg, 0.5f), ureg_negate(src)); in tx_src_param()
1222 ureg_ADD(ureg, tmp, ureg_imm1f(ureg, 1.0f), ureg_negate(src)); in tx_src_param()
1228 ureg_ADD(ureg, tmp, ureg_imm1f(ureg, 1.0f), ureg_negate(src)); in tx_src_param()
1237 ureg_MAD(ureg, tmp, src, ureg_imm1f(ureg, 2.0f), ureg_imm1f(ureg, -1.0f)); in tx_src_param()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_tgsi.c132 return ureg_imm1f(t->ureg, 0.0f); in get_source()
137 return ureg_imm1f(t->ureg, 0.0f); in get_source()
139 return ureg_imm1f(t->ureg, 1.0f); in get_source()
177 modsrc[0] = ureg_imm1f(t->ureg, 1.0f); in prepare_argument()
185 modsrc[1] = ureg_imm1f(t->ureg, -0.5f); in prepare_argument()
199 modsrc[1] = ureg_imm1f(t->ureg, -1.0f); in prepare_argument()
218 src[0] = ureg_imm1f(t->ureg, 0.5f); in emit_special_inst()
290 src[1] = ureg_imm1f(t->ureg, imm); in emit_dstmod()
326 src[0] = ureg_imm1f(t->ureg, 0.0f); in compile_setupinst()
370 args[arg] = ureg_imm1f(t->ureg, 0.0f); in compile_instruction()
Dst_mesa_to_tgsi.c604 ureg_imm1f(ureg, 1)); in compile_instruction()
Dst_glsl_to_tgsi.cpp6296 ureg_imm1f(ureg, 1), ureg_negate(samplepos_sysval)); in emit_samplepos_adjustment()
6300 ureg_scalar(trans_const, TGSI_SWIZZLE_X), ureg_imm1f(ureg, 1)); in emit_samplepos_adjustment()
6512 ureg_FSGE(ureg, face_temp, face_input, ureg_imm1f(ureg, 0)); in emit_face_var()
/external/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.c718 ureg_MOV(ureg, tmp_sum, ureg_imm1f(ureg, 0)); in util_make_fs_msaa_resolve()
738 ureg_imm1f(ureg, 1.0 / nr_samples)); in util_make_fs_msaa_resolve()
785 ureg_MOV(ureg, tmp_sum[c], ureg_imm1f(ureg, 0)); in util_make_fs_msaa_resolve_bilinear()
816 ureg_imm1f(ureg, 1.0 / nr_samples)); in util_make_fs_msaa_resolve_bilinear()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c236 ureg_SGE(c->ureg, temp, decl, ureg_imm1f(c->ureg, 0)); in ntt_setup_inputs()
762 ureg_AND(c->ureg, dst, src[0], ureg_imm1f(c->ureg, 1.0)); in ntt_emit_alu()
775 ureg_DSNE(c->ureg, dst, src[0], ureg_imm1f(c->ureg, 0)); in ntt_emit_alu()
777 ureg_FSNE(c->ureg, dst, src[0], ureg_imm1f(c->ureg, 0)); in ntt_emit_alu()
1571 ureg_AND(c->ureg, temp, cond, ureg_imm1f(c->ureg, 1.0)); in ntt_emit_intrinsic()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.h426 ureg_imm1f( struct ureg_program *ureg, in ureg_imm1f() function