Home
last modified time | relevance | path

Searched refs:ureg_scalar (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/vega/
Dasm_fill.h58 ureg_scalar(constant[3], TGSI_SWIZZLE_Y)); \
84 ureg_scalar(constant[2], TGSI_SWIZZLE_Y), in linear_grad()
85 ureg_scalar(ureg_src(temp[4]), TGSI_SWIZZLE_Y)); in linear_grad()
87 ureg_scalar(constant[2], TGSI_SWIZZLE_X), in linear_grad()
88 ureg_scalar(ureg_src(temp[4]), TGSI_SWIZZLE_X), in linear_grad()
91 ureg_scalar(constant[2], TGSI_SWIZZLE_Z)); in linear_grad()
121 ureg_scalar(constant[2], TGSI_SWIZZLE_Z), ureg_src(temp[2])); in radial_grad()
126 ureg_RCP(ureg, temp[0], ureg_scalar(constant[2], TGSI_SWIZZLE_Z)); in radial_grad()
172 ureg_MOV(ureg, temp[1], ureg_scalar(constant[3], TGSI_SWIZZLE_Y)); in paint_degenerate()
231 ureg_scalar(constant[3], TGSI_SWIZZLE_X), in color_transform()
[all …]
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_exa_tgsi.c95 ureg_scalar(src, TGSI_SWIZZLE_W), mask); in src_in_mask()
100 ureg_scalar(mask, TGSI_SWIZZLE_X)); in src_in_mask()
103 ureg_scalar(mask, TGSI_SWIZZLE_W)); in src_in_mask()
141 ureg_scalar(const0124, TGSI_SWIZZLE_Y)); in linear_gradient()
156 ureg_scalar(coords, TGSI_SWIZZLE_Y), in linear_gradient()
157 ureg_scalar(ureg_src(temp4), TGSI_SWIZZLE_Y)); in linear_gradient()
159 ureg_scalar(coords, TGSI_SWIZZLE_X), in linear_gradient()
160 ureg_scalar(ureg_src(temp4), TGSI_SWIZZLE_X), in linear_gradient()
165 ureg_scalar(coords, TGSI_SWIZZLE_Z)); in linear_gradient()
202 ureg_scalar(const0124, TGSI_SWIZZLE_Y)); in radial_gradient()
[all …]
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tgsi.c119 ureg_MUL(ureg, dst, ureg_scalar(src, TGSI_SWIZZLE_W), mask); in src_in_mask()
122 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_X)); in src_in_mask()
124 ureg_MUL(ureg, dst, src, ureg_scalar(mask, TGSI_SWIZZLE_W)); in src_in_mask()
162 ureg_scalar(const0124, TGSI_SWIZZLE_Y)); in linear_gradient()
175 ureg_scalar(coords, TGSI_SWIZZLE_Y), in linear_gradient()
176 ureg_scalar(ureg_src(temp4), TGSI_SWIZZLE_Y)); in linear_gradient()
178 ureg_scalar(coords, TGSI_SWIZZLE_X), in linear_gradient()
179 ureg_scalar(ureg_src(temp4), TGSI_SWIZZLE_X), ureg_src(temp0)); in linear_gradient()
181 ureg_MUL(ureg, temp2, ureg_src(temp1), ureg_scalar(coords, TGSI_SWIZZLE_Z)); in linear_gradient()
213 ureg_scalar(const0124, TGSI_SWIZZLE_Y)); in radial_gradient()
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mc.c195 ureg_negate(ureg_scalar(ureg_src(field), TGSI_SWIZZLE_Y)), in create_ref_frag_shader()
198 ureg_negate(ureg_scalar(ureg_src(field), TGSI_SWIZZLE_Y)), in create_ref_frag_shader()
201 ureg_IF(shader, ureg_scalar(ureg_src(ref), TGSI_SWIZZLE_Z), &label); in create_ref_frag_shader()
207 ureg_src(ref), ureg_scalar(ureg_src(ref), TGSI_SWIZZLE_Z)); in create_ref_frag_shader()
271 ureg_scalar(vpos, TGSI_SWIZZLE_Z), ureg_imm1f(shader, 0.5f)); in create_ycbcr_vert_shader()
275 ureg_IF(shader, ureg_scalar(vpos, TGSI_SWIZZLE_W), &label); in create_ycbcr_vert_shader()
278 ureg_negate(ureg_scalar(vrect, TGSI_SWIZZLE_Y)), in create_ycbcr_vert_shader()
282 ureg_scalar(vpos, TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.5f)); in create_ycbcr_vert_shader()
287 ureg_negate(ureg_scalar(ureg_src(t_vtex), TGSI_SWIZZLE_Z)), in create_ycbcr_vert_shader()
288 ureg_scalar(ureg_src(t_vtex), TGSI_SWIZZLE_X), in create_ycbcr_vert_shader()
[all …]
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()
107 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
108 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, 0.25f)); in create_vert_shader()
109 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
110 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), ureg_imm1f(shader, 0.25f)); in create_vert_shader()
112 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)); in create_vert_shader()
115 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
116 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), ureg_imm1f(shader, -0.25f)); in create_vert_shader()
117 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
[all …]
Dvl_idct.c88 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()
136 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), in matrix_mul()
137 ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y)); in matrix_mul()
243 ureg_scalar(ureg_src(m[0][0]), TGSI_SWIZZLE_X)); in create_mismatch_frag_shader()
421 ureg_scalar(vrect, TGSI_SWIZZLE_X), in vl_idct_stage2_vert_shader()
Dvl_zscan.c142 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XW), ureg_scalar(block_num, TGSI_SWIZZLE_X), in create_vert_shader()
145 …ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)… in create_vert_shader()
149 …ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), in create_vert_shader()
211 … ureg_MOV(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_Y), ureg_scalar(vtex[i], TGSI_SWIZZLE_W)); in create_frag_shader()
/external/mesa3d/src/mesa/state_tracker/
Dst_mesa_to_tgsi.c811 ureg_scalar(wpostrans, invert ? 2 : 0), in emit_wpos_adjustment()
835 ureg_scalar(wpostrans, 0), in emit_wpos_adjustment()
836 ureg_scalar(wpostrans, 1)); in emit_wpos_adjustment()
843 ureg_scalar(wpostrans, 2), in emit_wpos_adjustment()
844 ureg_scalar(wpostrans, 3)); in emit_wpos_adjustment()
1172 t->systemValues[i] = ureg_scalar(ureg_src(temp), 0); in st_translate_mesa_program()
Dst_glsl_to_tgsi.cpp4319 ureg_scalar(wpostrans, invert ? 2 : 0), in emit_wpos_adjustment()
4343 ureg_scalar(wpostrans, 0), in emit_wpos_adjustment()
4344 ureg_scalar(wpostrans, 1)); in emit_wpos_adjustment()
4351 ureg_scalar(wpostrans, 2), in emit_wpos_adjustment()
4352 ureg_scalar(wpostrans, 3)); in emit_wpos_adjustment()
4676 t->systemValues[i] = ureg_scalar(ureg_src(temp), 0); in st_translate_program()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.h889 ureg_scalar( struct ureg_src reg, int x ) in ureg_scalar() function