Oddbean new post about | logout
 Anyone can explain me, why mesa devs use assert() on fatal errors?
https://gitlab.freedesktop.org/mesa/mesa/-/commit/9197dba8bc250961a7ab2bf82808a6bb31fdbc28
And many other asserts with comments saying that GPU will hang!
Asserts turns to nothing in release builds. Using mesa debug build in usual life is almost impossibe, as it enables shader validation which is really slow. 
 @986ebc02 i think because an assertion error will cause death and a stack trace in debug rigs, whereas return won't.

(although in a release build it won't early return, so :blobcatwaitwhat:)