[Piglit] [PATCH] hiz, new depth test

Chad Versace chad.versace at linux.intel.com
Mon Nov 5 12:04:45 PST 2012

On 10/31/2012 06:38 AM, Tapani Pälli wrote:
> 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;

I suspect that the test failure may be unrelated to hiz. The failing probes are
*color* probes. I've ran the test in non-auto mode, and, at least visually,
the color at the failing probe points are correct.

Maybe Piglit or Mesa is handling RGB565 incorrectly? I'm still looking into it.

More information about the Piglit mailing list