diff options
author | Erik Faye-Lund <[email protected]> | 2020-06-09 21:25:26 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-10 22:27:08 +0000 |
commit | 67ad75a282d11f4c284e30ddc8848550f02a6948 (patch) | |
tree | 6f2c9efac8de8e17c9aff2a890fd1d43e318b665 /.gitlab-ci | |
parent | 978285f69a4ac9a17afbcdac5f36eebab4f14269 (diff) |
gallium/hud: do not specify potentially invalid depth-range
Setting the depth-scale to 1 while leaving the depth-translation at 0
means our near-plane is at -1 in OpenGL semantics, which is
out-of-range on some drivers. In particular, Zink has this limitation.
But since we'll only pass a zero z in here anyway, we might as well
multiply it by zero, and get the same result. This avoids the problem.
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5408>
Diffstat (limited to '.gitlab-ci')
0 files changed, 0 insertions, 0 deletions