[Mesa-dev] [PATCH] nir/spirv: Make unhandled decorations a warning rather than unreachable()

Matt Turner mattst88 at gmail.com
Tue May 24 02:49:41 UTC 2016


On Mon, May 23, 2016 at 6:43 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> This prevents SPIR-V -> NIR from dying if we get a decoration we don't know
> about.  Compiling incorrect code is probably a better failure mode than
> dying horribly.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95573

We want to try to limp along after compiling a shader whose meaning we
can't determine?

Maybe I don't understand, but shouldn't we just support whatever
decoration is missing?


More information about the mesa-dev mailing list