Searched refs:vtex (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_zscan.c173 struct ureg_src *vtex; local
186 vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_src));
190 vtex[i] = ureg_DECL_fs_input(shader, TGSI_SEMANTIC_GENERIC, VS_O_VTEX + i, TGSI_INTERPOLATE_LINEAR);
203 * tmp.x = tex(vtex, 1)
204 * tmp.y = vtex.z
208 ureg_TEX(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_X), TGSI_TEXTURE_2D, vtex[i], samp_scan);
211 ureg_MOV(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_Y), ureg_scalar(vtex[i], TGSI_SWIZZLE_W));
215 ureg_TEX(shader, ureg_writemask(quant, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, vtex[i], samp_quant);
225 FREE(vtex);
H A Dvl_compositor.c59 struct ureg_src vpos, vtex, color; local
69 vtex = ureg_DECL_vs_input(shader, 1);
80 * o_vtex = vtex
84 ureg_MOV(shader, o_vtex, vtex);
88 * tmp.x = vtex.w / 2
89 * tmp.y = vtex.w / 4
91 * o_vtop.x = vtex.x
92 * o_vtop.y = vtex.y * tmp.x + 0.25f
93 * o_vtop.z = vtex.y * tmp.y + 0.25f
96 * o_vbottom.x = vtex
[all...]
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_zscan.c173 struct ureg_src *vtex; local
186 vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_src));
190 vtex[i] = ureg_DECL_fs_input(shader, TGSI_SEMANTIC_GENERIC, VS_O_VTEX + i, TGSI_INTERPOLATE_LINEAR);
203 * tmp.x = tex(vtex, 1)
204 * tmp.y = vtex.z
208 ureg_TEX(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_X), TGSI_TEXTURE_2D, vtex[i], samp_scan);
211 ureg_MOV(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_Y), ureg_scalar(vtex[i], TGSI_SWIZZLE_W));
215 ureg_TEX(shader, ureg_writemask(quant, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, vtex[i], samp_quant);
225 FREE(vtex);
H A Dvl_compositor.c59 struct ureg_src vpos, vtex, color; local
69 vtex = ureg_DECL_vs_input(shader, 1);
80 * o_vtex = vtex
84 ureg_MOV(shader, o_vtex, vtex);
88 * tmp.x = vtex.w / 2
89 * tmp.y = vtex.w / 4
91 * o_vtop.x = vtex.x
92 * o_vtop.y = vtex.y * tmp.x + 0.25f
93 * o_vtop.z = vtex.y * tmp.y + 0.25f
96 * o_vbottom.x = vtex
[all...]

Completed in 98 milliseconds