fails with: Creating gles2 context with config id: 3 context: 0 Creating gles2 context with config id: 3 context: 1 Rendering with depth buffer Modifying EGLImage with glClear to renderbuffer Rendering with depth buffer Image comparison failed: max difference = (128, 136, 128, 0), threshold = (32, 32, 32, 32)
*** Bug 98344 has been marked as a duplicate of this bug. ***
Mark, does this fail you on anything else than Skylake? For me it reliably fails on SKL but passes nicely on HSW.
It fails on SKL, BDW, and BSW. Apologies: I should have put that in the bug when I wrote it.
Tapani, are you still working on this? I confirmed that it still fails on Mesa master@d0d21532f with DEQP_TARGET=x11_egl.
I submitted fixes to mesa-dev as: https://lists.freedesktop.org/archives/mesa-dev/2016-December/137984.html https://patchwork.freedesktop.org/series/16645/
I've verified that this fixes it for me -> resolving as fixed. --- 8< --- commit 42011be1e27f59d750b781c10766e19ec0ee6ff5 Author: Chad Versace <chadversary@chromium.org> Date: Fri Dec 9 16:22:52 2016 -0800 i965/mt: Disable HiZ when sharing depth buffer externally (v2) intel_miptree_make_shareable() discarded and disabled CCS. Fix it so that it discards and disables HiZ too. Fixes dEQP-EGL.functional.image.render_multiple_contexts.gles2_renderbuffer_depth16_depth_buffer on Skylake. v2: Actually do what the commit message says. Discard the HiZ buffer. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=98329 Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Cc: Nanley Chery <nanley.g.chery@intel.com Cc: Haixia Shi <hshi@chromium.org> Cc: mesa-stable@lists.freedesktop.org
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.