[Piglit] [PATCH v3 3/4] khr_texture_compression_astc: Add miptree tests

Chad Versace chad.versace at intel.com
Thu Oct 1 12:55:49 PDT 2015


On Wed 16 Sep 2015, Nanley Chery wrote:
> From: Nanley Chery <nanley.g.chery at intel.com>
> 
> These tests run through every ASTC configuration, comparing the
> render of a compressed texture against a render of the decompressed
> version of that compressed texture. The compressed and decompressed
> texture was generated with a reference codec.
> 
> v2. numerous changes (Chad).
> 
> Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
> ---
>  tests/all.py                                       |   2 +
>  tests/spec/CMakeLists.txt                          |   1 +
>  .../khr_texture_compression_astc/CMakeLists.gl.txt |   7 +
>  .../CMakeLists.gles2.txt                           |   4 +
>  .../khr_texture_compression_astc/CMakeLists.txt    |   1 +

> +	GLint pixel_offset_loc = glGetUniformLocation(prog, "pixel_offset");
> +	GLint level_pixel_size_loc = glGetUniformLocation(prog,
> +							"level_pixel_size");

In strict C89, within a given block, all declaration statements must
occur before non-declaration statements. And Piglit needs to satisfy
that rule for MSVC.

These two variables were the only offenders I found in the patch.


More information about the Piglit mailing list