On Wed 16 Sep 2015, Nanley Chery wrote:
> From: Nanley Chery <[email protected]>
> 
> 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 <[email protected]>
> ---
>  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.
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to