Bug 96274

Summary: [NVC0] Failure when compiling compute shader: Assertion `bb->getFirst()->serial <= bb->getExit()->serial' failed
Product: Mesa Reporter: Ilia Mirkin <imirkin>
Component: Drivers/DRI/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Nouveau Project <nouveau>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: failing tgsi shader

Description Ilia Mirkin 2016-05-30 04:06:06 UTC
Created attachment 124171 [details]
failing tgsi shader

This happens in GRID Autosport, when selecting one of the advanced graphics options (global illumination or the one right next to it). The issue appears to be squarely in nouveau's optimizations.

It looks like we end up deciding that the first while loop can be removed? Or somehow lose track of those BBs? Unclear. This in turn leads to BB:11 being completely lost.
Comment 1 Ilia Mirkin 2016-08-23 22:34:14 UTC
Fixed by

commit 092f994a034b718f6170c631655ccaba8d2aa768
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Fri Aug 19 00:41:59 2016 -0400

    nv50/ir: make sure cfg iterator always hits all blocks

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.