diff options
author | Brian Paul <brianp@vmware.com> | 2010-05-24 17:21:30 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-05-24 17:22:35 -0400 |
commit | a94955843059af787ca5d289a87e2f35a869437a (patch) | |
tree | e7ee280d9ac3dbdc8d95e90c65c911c2c49a9bc9 /src/gallium/state_trackers/egl | |
parent | e88cef3c9d5de2a5dccd9ad770952a9d2347ba0d (diff) |
meta: Convert Z value from normalized to object-space in meta code
Convert Z from a normalized value in the range [0, 1] to an
object-space Z coordinate in [-1, +1] so that drawing at the new Z
position with the default/identity ortho projection results in the
original Z value. Used by the meta-Clear, Draw/CopyPixels and Bitmap
functions where the Z value comes from the clear value or raster
position.
Fixes piglit tests fdo23670-depth_test, quad-invariance and
glsl-orangebook-ch06-bump as well as oglc zbfunc.c.
https://bugs.freedesktop.org/show_bug.cgi?id=23670
Diffstat (limited to 'src/gallium/state_trackers/egl')
0 files changed, 0 insertions, 0 deletions