commit | 7497917cfd8972849c611087366a027fecdea80b | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Wed Dec 09 10:04:10 2020 -0800 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Dec 10 18:38:13 2020 +0000 |
tree | e60bf6a2966b0bfd5d49ff8c4cea1259b5dfb6ab | |
parent | a9a8e05b696ec756c87be7a0f5c7a0aafc310904 [diff] |
osmesa/test: Clear the stencil bits in the depth test. Since the depth buffer starts out as a malloc, and we weren't clearing it, you could get undefined values in your top 8 bits. This should fix intermittent failures of the depth test. (Sadly, valgrind wasn't catching this, presumably because the 32-bit value there *is* written, just some bits are left undef) Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1243>