[Piglit] [PATCH 2/2] arb_direct_state_access: New test for GetCompressedTextureImage.

Ian Romanick idr at freedesktop.org
Thu Feb 19 13:04:59 PST 2015

On 02/13/2015 11:36 AM, Laura Ekstrand wrote:
> +void
> +piglit_init(int argc, char **argv)
> +{
> +	piglit_require_extension("GL_ARB_direct_state_access");

This test should also check that DXT5 textures are supported.  In tests
that provide pre-compressed data, please check for either
GL_EXT_texture_compression_s3tc or GL_ANGLE_texture_compression_dxt5.
That former is only enabled by Mesa if the dxtn compression library is
installed, but the latter is always enabled.

> +	srand(0);
> +	init_random_data();
> +}

More information about the Piglit mailing list