Searched refs:half_depth (Results 1 - 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/tests/graw/
H A Dshader-leak.c58 float half_depth = ((float)zFar - (float)zNear) / 2.0f; local
63 vp.scale[2] = half_depth;
67 vp.translate[2] = half_depth + z;
H A Dtri-gs.c59 float half_depth = ((float)zFar - (float)zNear) / 2.0f; local
64 vp.scale[2] = half_depth;
68 vp.translate[2] = half_depth + z;
H A Dtri-instanced.c88 float half_depth = ((float)zFar - (float)zNear) / 2.0f; local
93 vp.scale[2] = half_depth;
97 vp.translate[2] = half_depth + z;
H A Dgraw_util.h195 float half_depth = (zFar - zNear) / 2.0f; local
200 vp.scale[2] = half_depth;
204 vp.translate[2] = half_depth + z;
H A Dquad-sample.c68 float half_depth = ((float)zFar - (float)zNear) / 2.0f; local
73 vp.scale[2] = half_depth;
77 vp.translate[2] = half_depth + z;
H A Dfs-test.c140 float half_depth = ((float)zFar - (float)zNear) / 2.0f; local
145 vp.scale[2] = half_depth;
149 vp.translate[2] = half_depth + z;
H A Dgs-test.c199 float half_depth = ((float)zFar - (float)zNear) / 2.0f; local
204 vp.scale[2] = half_depth;
208 vp.translate[2] = half_depth + z;
H A Dvs-test.c121 float half_depth = ((float)zFar - (float)zNear) / 2.0f; local
126 vp.scale[2] = half_depth;
130 vp.translate[2] = half_depth + z;
/external/mesa3d/src/gallium/tests/trivial/
H A Dtri.c177 float half_depth = ((float)FAR - (float)NEAR) / 2.0f; local
190 p->viewport.scale[2] = half_depth;
194 p->viewport.translate[2] = half_depth + z;
H A Dquad-tex.c232 float half_depth = ((float)FAR - (float)NEAR) / 2.0f; local
245 p->viewport.scale[2] = half_depth;
249 p->viewport.translate[2] = half_depth + z;

Completed in 170 milliseconds