[iris] new piglit test failing on multiple platforms
Issue began with piglit=b96b914c682f35d87b64ed5c88563b1dae713b5a
Author: Erik Faye-Lund <erik.faye-lund@collabora.com>
Date: Tue Nov 10 16:01:39 2020 +0100
arb_direct_state_access: do not use core-context
This test calls fbo_formats_init, which in turn calls
fbo_formats_init_test_set, which finally requires
the GL_ARB_texture_env_combine extension. That extension makes no sense
in core-contexts, where the fixed-function pipeline has been removed.
So we end up bailing the entire test in this case.
Running this in compatibility-context instead reveals that several
mesa-drivers are broken, and crash when this test is run.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/410>
Failing tests are:
-piglit.spec.arb_direct_state_access.gettextureimage-formats:
stderr shows an assertion failure here:
../src/mesa/state_tracker/st_cb_texture.c:867:st_get_blit_mask: Assertion `0' failed.
-piglit.spec.arb_direct_state_access.gettextureimage-formats init-by-rendering:
maybe output the wrong color:
/tmp/build_root/m64/lib/piglit/bin/arb_direct_state_access-gettextureimage-formats init-by-rendering -auto -fbo
Using test set: Core formats
The textures will be initialized by rendering to them using glDrawPixels.
gettextureimage-formats failure: format: GL_RGB10_A2, level 1 at pixel(369, 103)
Expected (0.597386, 0.597386, 0.433987, 0.111111)
Found (0.792157, 0.792157, 0.466667, 0.443137)
Tolerance (0.015686, 0.015686, 0.015686, 2.000000)
gettextureimage-formats failure: format: GL_RGB10_A2, level 2 at pixel(421, 71)
Expected (0.597386, 0.597386, 0.433987, 0.111111)
Found (0.788235, 0.788235, 0.466667, 0.443137)
Tolerance (0.015686, 0.015686, 0.015686, 2.000000)
Results taken from https://mesa-ci.01.org/mesa_master/builds/23199/group/63a9f0ea7bb98050796b649e85481845
Edited by ngcortes