Searched defs:vrect (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_mc.c55 struct ureg_src vrect, vpos; local
59 vrect = ureg_DECL_vs_input(shader, VS_I_RECT);
69 * t_vpos = (vpos + vrect) * block_scale
73 ureg_ADD(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), vpos, vrect);
229 struct ureg_src vrect, vpos; local
244 vrect = ureg_DECL_vs_input(shader, VS_I_RECT);
258 * t_vtex.xy = vrect.y ? { 0, scale.y } : { -scale.y : 0 }
278 ureg_negate(ureg_scalar(vrect, TGSI_SWIZZLE_Y)),
H A Dvl_zscan.c97 struct ureg_src vrect, vpos, block_num; local
115 vrect = ureg_DECL_vs_input(shader, VS_I_RECT);
127 * o_vpos.xy = (vpos + vrect) * scale
134 * o_vtex.x = vrect.x / blocks_per_line + tmp.x
135 * o_vtex.y = vrect.y
138 ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XY), vpos, vrect);
153 ureg_MAD(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_X), vrect,
155 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Y), vrect);
H A Dvl_idct.c262 struct ureg_src vrect, vpos; local
271 vrect = ureg_DECL_vs_input(shader, VS_I_RECT);
288 * t_vpos = vpos + vrect
301 ureg_ADD(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_XY), vpos, vrect);
310 calc_addr(shader, o_r_addr, vrect, ureg_imm1f(shader, 0.0f), true, true, VL_BLOCK_WIDTH / 4);
398 struct ureg_src vrect, vpos; local
403 vrect = ureg_DECL_vs_input(shader, VS_I_RECT);
421 ureg_scalar(vrect, TGSI_SWIZZLE_X),
425 calc_addr(shader, o_l_addr, vrect, ureg_imm1f(shader, 0.0f), false, false, VL_BLOCK_WIDTH / 4);
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_mc.c55 struct ureg_src vrect, vpos; local
59 vrect = ureg_DECL_vs_input(shader, VS_I_RECT);
69 * t_vpos = (vpos + vrect) * block_scale
73 ureg_ADD(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), vpos, vrect);
229 struct ureg_src vrect, vpos; local
244 vrect = ureg_DECL_vs_input(shader, VS_I_RECT);
258 * t_vtex.xy = vrect.y ? { 0, scale.y } : { -scale.y : 0 }
278 ureg_negate(ureg_scalar(vrect, TGSI_SWIZZLE_Y)),
H A Dvl_zscan.c97 struct ureg_src vrect, vpos, block_num; local
115 vrect = ureg_DECL_vs_input(shader, VS_I_RECT);
127 * o_vpos.xy = (vpos + vrect) * scale
134 * o_vtex.x = vrect.x / blocks_per_line + tmp.x
135 * o_vtex.y = vrect.y
138 ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XY), vpos, vrect);
153 ureg_MAD(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_X), vrect,
155 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Y), vrect);
H A Dvl_idct.c262 struct ureg_src vrect, vpos; local
271 vrect = ureg_DECL_vs_input(shader, VS_I_RECT);
288 * t_vpos = vpos + vrect
301 ureg_ADD(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_XY), vpos, vrect);
310 calc_addr(shader, o_r_addr, vrect, ureg_imm1f(shader, 0.0f), true, true, VL_BLOCK_WIDTH / 4);
398 struct ureg_src vrect, vpos; local
403 vrect = ureg_DECL_vs_input(shader, VS_I_RECT);
421 ureg_scalar(vrect, TGSI_SWIZZLE_X),
425 calc_addr(shader, o_l_addr, vrect, ureg_imm1f(shader, 0.0f), false, false, VL_BLOCK_WIDTH / 4);

Completed in 207 milliseconds