clear-stencil: new test to check for problems clearing stencils
commit759cc6454a73cc93c3386457e976c61c75b4c73d
authorEric R. Smith <eric.smith@collabora.com>
Fri, 19 Apr 2024 13:35:08 +0000 (19 10:35 -0300)
committerMarge Bot <emma+marge@anholt.net>
Wed, 24 Apr 2024 12:56:54 +0000 (24 12:56 +0000)
tree665e211a592fa977be27a7025e2a3d0062241299
parent2c64a91bb0a1d983beb6d9ae1085b10cf2aa89a5
clear-stencil: new test to check for problems clearing stencils

On some architectures clearing depth and stencils can be optimized, but
tracking the state to know when the stencil has been written is necessary
and sometimes has bugs. This test finds a problem with state tracking of
stencil clears in an older version of the panfrost driver.

Signed-off-by: Eric R. Smith <eric.smith@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/905>
tests/spec/gles-3.0/CMakeLists.gles3.txt
tests/spec/gles-3.0/clear-stencil.c [new file with mode: 0644]