This test now asserts at:
/tmp/build_root/m64/lib/piglit/bin/arb_texture_view-sampling-2d-array-as-2d-layer -auto -fbo
arb_texture_view-sampling-2d-array-as-2d-layer: /mnt/space/jenkins/jobs/Leeroy/workspace_4/repos/mesa/src/mesa/main/teximage.h:79: _mesa_cube_face_target: Assertion `face < 6' failed.
Best guess is that it started with the series ending at 9675fb6c681bf3441ee1d25e18b38faea5144524, because that series introduced the assert. I couldn't bisect because the same series broke the build.
It may be that the assertion is valid, and the test is wrong.
There is one caller (in _mesa_TextureView() at least I think it's the only one) which will call this for array targets. I think the assertion just should be dropped (albeit the "face" name doesn't really make sense for non-cube targets).
I'll move the assertion inside the conditional. See patch on Mesa-dev.
(In reply to Brian Paul from comment #2)
> I'll move the assertion inside the conditional. See patch on Mesa-dev.
The patch was reviewed and pushed:
And I have checked that the test moved from crash (due assertion) to pass.
I assume that people forgot to close the bug. Doing it now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.