On Fri, Jul 22, 2016 at 02:01:33PM -0700, Anuj Phogat wrote: > This will allow testing sRGB formats which have known precision issues > in astcenc in void extent blocks. See khronos bug#11294 for details. > > Cc: Nanley Chery <[email protected]> > Signed-off-by: Anuj Phogat <[email protected]>
This patch is, Reviewed-by: Nanley Chery <[email protected]> > --- > .../khr_texture_compression_astc/khr_compressed_astc-miptree.c | 10 > ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git > a/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree.c > b/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree.c > index 0f82695..f5f8988 100644 > --- a/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree.c > +++ b/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree.c > @@ -247,6 +247,16 @@ test_miptrees(void* input_type) > "GL_KHR_texture_compression_astc_hdr"); > const bool check_error = is_hdr_test && !has_hdr; > int block_dims; > + > + if (is_srgb_test) > + /* Loosen up the tolerence for sRGB tests. This will allow > testing > + * sRGB formats which have known precision issues in void extent > + * blocks. See khronos bug#11294 for details. > + */ > + piglit_set_tolerance_for_bits(7, 7, 7, 7); > + else > + piglit_set_tolerance_for_bits(8, 8, 8, 8); > + > for (block_dims = 0; block_dims < ARRAY_SIZE(block_dim_str); > ++block_dims) { > > /* Texture objects. */ > -- > 2.5.5 > > _______________________________________________ > Piglit mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/piglit _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
