[Piglit] [PATCH] hiz, new depth test
Tapani Pälli
tapani.palli at intel.com
Wed Oct 31 06:38:41 PDT 2012
Hello,
Here is a new test that tries to demonstrate failure with hiz code when
frambuffer depth and color do not match. This failure happens for example
with MESA_FORMAT_RGB565 color buffer and MESA_FORMAT_X8_Z24 depth buffer.
This test seems to fail, however my suggested fix does not make it pass
either so I am a bit puzzled if I am testing here the right thing. My
suggested fix was to not use fast depth clear in this case which produces
good visual results with test applications, however this piglit test does
not pass.
Any help appreciated;
Tapani Pälli (1):
hiz: added one new depth test with RGB565 color attachment
tests/all.tests | 1 +
tests/hiz/CMakeLists.gl.txt | 1 +
tests/hiz/hiz-depth-test-fbo-d24-s0-RGB565.c | 68 ++++++++++++++++++++++++++
3 files changed, 70 insertions(+)
create mode 100644 tests/hiz/hiz-depth-test-fbo-d24-s0-RGB565.c
--
1.7.10.4
More information about the Piglit
mailing list