Created attachment 145451 [details] Failed test case Steps: 1. Fetch latest master branch (88b8922f57137e75c8ea48969e27a8275adbdf5a) of Mesa source code. 2. Build Mesa with following options: meson out -Dplatforms=x11,drm \ -Ddri-drivers=i915,i965 -Dvulkan-drivers=intel -Dgallium-drivers=iris \ -Dgles1=true -Dgles2=true -Dshared-glapi=true -Dgbm=true -Ddri3=true 3. Set environments: 3.1 Add Mesa library path to LD_LIBRARY_PATH 3.2 Add Mesa dri path to LIBGL_DRIVERS_PATH 3.3 Set MESA_LOADER_DRIVER_OVERRIDE=iris 4. Launch Chrome, open the test page (conformance2/renderbuffers/invalidate-framebuffer.html) in the attachment Expected Result: The test case passed. Actual Result: Test test case failed. Note: This test case passed if MESA_LOADER_DRIVER_OVERRIDE=iris is not set while all other steps is the same.
Mesa CI doesn't run webgl for iris yet, but it is on the roadmap: https://www.pivotaltracker.com/story/show/168472097
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2071
Fixed on master with: commit ec81f19b44951fbc0e6a8b381afe6d85834132b8 Author: Kenneth Graunke <kenneth@whitecape.org> Date: Fri Sep 20 14:33:51 2019 -0700 st/mesa: Bail on incomplete attachments in discard_framebuffer Incomplete attachments don't have an associated pipe_surface, so this would crash. Fixes a WebGL conformance test that uses incomplete attachments: https://www.khronos.org/registry/webgl/sdk/tests/conformance2/renderbuffers/invalidate-framebuffer.html?webglVersion=2&quiet=0&quick=1 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111756 Reviewed-By: Tapani Pälli <tapani.palli@intel.com>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.