[Piglit] [PATCH] msaa: Test that glClear() ignores multisample fragment operations.

Chad Versace chad.versace at linux.intel.com
Thu Jun 28 13:59:11 PDT 2012


On 06/27/2012 04:04 PM, Paul Berry wrote:

> +	/* If we are testing the depth or stencil buffer, use
> +	 * manifest_program to convert depth/stencil values to
> +	 * colors.
> +	 */
> +	if (manifest_program)
> +		manifest_program->run();

Clever. When I first read the test's description, I thought "How can this
testpossibly verify the depth and stencil buffers correctly? The
downsample blit for those buffers does not average the sample values, but
selects just one. This test will give a false positive if glClear operates
incorrectly but the downsample blit incidentally selects the right sample for
each pixel."

This test is
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>


More information about the Piglit mailing list