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_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_compositor.c104 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()
110 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); in create_vert_shader()
112 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.25f)); in create_vert_shader()
118 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); in create_vert_shader()
120 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, -0.25f)); in create_vert_shader()
162 i_tc[i], ureg_imm1f(shader, -0.5f)); in create_frag_shader_weave()
165 ureg_imm1f(shader, i ? 1.0f : 0.0f)); in create_frag_shader_weave()
167 ureg_src(t_tc[i]), ureg_imm1f(shader, 0.5f)); in create_frag_shader_weave()
195 ureg_abs(ureg_src(t_tc[0])), ureg_imm1f(shader, 2.0f)); in create_frag_shader_weave()
[all …]
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/state_trackers/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.c678 ureg_imm1f(tx->ureg, b ? 1.0f : 0.0f); in tx_set_lconstb()
1017 ureg_MIN(ureg, tmp, src, ureg_imm1f(ureg, 1.0f)); in tx_src_param()
1018 ureg_MAX(ureg, tmp, ureg_src(tmp), ureg_imm1f(ureg, -1.0f)); in tx_src_param()
1027 src = ureg_imm1f(ureg, 0.0f); in tx_src_param()
1088 ureg_imm1f(ureg, 1), ureg_imm1f(ureg, -1)); in tx_src_param()
1151 ureg_ADD(ureg, tmp, src, ureg_imm1f(ureg, -0.5f)); in tx_src_param()
1156 ureg_ADD(ureg, tmp, ureg_imm1f(ureg, 0.5f), ureg_negate(src)); in tx_src_param()
1169 ureg_ADD(ureg, tmp, ureg_imm1f(ureg, 1.0f), ureg_negate(src)); in tx_src_param()
1178 ureg_MAD(ureg, tmp, src, ureg_imm1f(ureg, 2.0f), ureg_imm1f(ureg, -1.0f)); in tx_src_param()
1183 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.c592 ureg_imm1f(ureg, 1)); in compile_instruction()
Dst_glsl_to_tgsi.cpp6143 ureg_FSGE(ureg, face_temp, face_input, ureg_imm1f(ureg, 0)); in emit_face_var()
/external/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.c779 ureg_MOV(ureg, tmp_sum, ureg_imm1f(ureg, 0)); in util_make_fs_msaa_resolve()
799 ureg_imm1f(ureg, 1.0 / nr_samples)); in util_make_fs_msaa_resolve()
846 ureg_MOV(ureg, tmp_sum[c], ureg_imm1f(ureg, 0)); in util_make_fs_msaa_resolve_bilinear()
877 ureg_imm1f(ureg, 1.0 / nr_samples)); in util_make_fs_msaa_resolve_bilinear()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.h340 ureg_imm1f( struct ureg_program *ureg, in ureg_imm1f() function
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.h420 ureg_imm1f( struct ureg_program *ureg, in ureg_imm1f() function