On 22.07.2014 20:56, Neil Roberts wrote:
> +/** @file bptc-modes.c
> + *
> + * Tests BPTC-compressed textures that with a block for each of the
> + * possible 8 modes. The texture is both rendered and retrieved with
> + * glGetTexImage and verified that it has the expected values.
> + */
> +
> +#include "piglit-util-gl.h"
> +
> +PIGLIT_GL_TEST_CONFIG_BEGIN
> +
> +     config.supports_gl_compat_version = 10;
> +
> +     config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
> +
> +PIGLIT_GL_TEST_CONFIG_END
> +

That looks a bit strange to test textures (mode 4-7) with alpha
channel... it should be PIGLIT_GL_VISUAL_RGBA! I have implemented BPTC
for radeonsi, and it failed with the alpha formats because of this. How
did that ever work on nvc0, r600g and i965?

Grigori

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to