Bug 97095

Summary: Debug version driver crashes with WebGL 2.0 test "conformance/textures/image/tex-2d-rgb-rgb-unsigned_byte.html" on Intel Skylake machine
Product: Mesa Reporter: Yang Gu <yang.gu>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Yang Gu 2016-07-27 10:35:15 UTC
The crash happens only with debug version driver as it's an assertion error. Tests can pass with release version driver.
The crash happens only with Skylake, and Broadwell doesn't have this issue.

Steps to repro:
1. Run latest "google-chrome-unstable" on Skylake Linux with option "--enable-unsafe-es3-apis" to enable WebGL 2.0 support.
2. Run test case by typing following link in Chromium "https://www.khronos.org/registry/webgl/sdk/tests/conformance/textures/image/tex-2d-rgb-rgb-unsigned_byte.html?webglVersion=2&quiet=0"
3. You may get following error in terminal:
brw_blorp_clear.cpp:245: bool do_single_blorp_clear(brw_context*, gl_framebuffer*, gl_renderbuffer*, unsigned int, bool, bool, unsigned int): Assertion `partial_clear' failed.

Actually there are many other cases (such as all the cases under confromance/textures/image/) would crash due to this.
Comment 1 Matt Turner 2016-10-31 23:33:33 UTC
This test now passes for me on 06e3cd6a45ae2ad19f77e0f283c46d5f85112847 on SKL with a debug build, according to your instructions. Please reopen if you can still reproduce.

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.