Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mc.c76 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f)); in calc_position()
94 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), pos, ureg_imm1f(shader, 0.5f)); in calc_line()
96 ureg_SGE(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp), ureg_imm1f(shader, 0.5f)); in calc_line()
204 ureg_src(ref), ureg_imm1f(shader, y_scale)); in create_ref_frag_shader()
209 ureg_src(ref), ureg_imm1f(shader, 1.0f / y_scale)); in create_ref_frag_shader()
271 ureg_scalar(vpos, TGSI_SWIZZLE_Z), ureg_imm1f(shader, 0.5f)); in create_ycbcr_vert_shader()
272 ureg_MOV(shader, ureg_writemask(o_flags, TGSI_WRITEMASK_W), ureg_imm1f(shader, -1.0f)); in create_ycbcr_vert_shader()
282 ureg_scalar(vpos, TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.5f)); in create_ycbcr_vert_shader()
295 ureg_imm1f(shader, 0.0f), ureg_imm1f(shader, 1.0f)); in create_ycbcr_vert_shader()
352 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_matrix_filter.c116 ureg_imm1f(shader, 0.0f)); in create_frag_shader()
132 ureg_imm1f(shader, matrix_values[i])); in create_frag_shader()
136 ureg_imm1f(shader, matrix_values[i]), ureg_src(t_sum)); in create_frag_shader()
140 ureg_MOV(shader, o_fragment, ureg_imm1f(shader, 0.0f)); in create_frag_shader()
Dvl_zscan.c140 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f)); in create_vert_shader()
143 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line)); in create_vert_shader()
150 ureg_imm1f(shader, 1.0f / (zscan->blocks_per_line * VL_BLOCK_WIDTH) in create_vert_shader()
154 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line), ureg_src(tmp)); in create_vert_shader()
158 ureg_imm1f(shader, (float)zscan->blocks_per_line / zscan->blocks_total)); in create_vert_shader()
218 ureg_MUL(shader, quant, ureg_src(quant), ureg_imm1f(shader, 16.0f)); in create_frag_shader()
Dvl_compositor.c102 ureg_scalar(vtex, TGSI_SWIZZLE_W), ureg_imm1f(shader, 0.5f)); in create_vert_shader()
104 ureg_scalar(vtex, TGSI_SWIZZLE_W), ureg_imm1f(shader, 0.25f)); in create_vert_shader()
108 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); in create_vert_shader()
110 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.25f)); in create_vert_shader()
116 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); in create_vert_shader()
118 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, -0.25f)); in create_vert_shader()
157 ureg_MOV(shader, ureg_writemask(texel, TGSI_WRITEMASK_W), ureg_imm1f(shader, 1.0f)); in create_frag_shader_video_buffer()
162 ureg_MOV(shader, ureg_writemask(fragment, TGSI_WRITEMASK_W), ureg_imm1f(shader, 1.0f)); in create_frag_shader_video_buffer()
208 ureg_imm1f(shader, i ? 0.75f : 0.25f)); in create_frag_shader_weave()
210 ureg_src(t_tc[i]), ureg_imm1f(shader, 0.5f)); in create_frag_shader_weave()
[all …]
Dvl_median_filter.c126 ureg_imm1f(shader, 0.0f)); in create_frag_shader()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.h348 ureg_imm1f( struct ureg_program *ureg, in ureg_imm1f() function
/external/mesa3d/src/mesa/state_tracker/
Dst_mesa_to_tgsi.c752 ureg_MOV( ureg, dst[0], ureg_imm1f(ureg, 0.5) ); in compile_instruction()