microsoft/compiler: Move blob_init earlier to prevent crash on failure
authorJesse Natalie <jenatali@microsoft.com>
Fri, 26 Mar 2021 01:16:54 +0000 (18:16 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 2 Apr 2021 17:16:48 +0000 (17:16 +0000)
commit3f1b90d638e6c8bc6d929cef3626371b9e87afe1
tree8dda7aef0baa4b3292134adf78d05778bddfc435
parentcb5120bcf74b023220d45dd75f3f0fd29535b82c
microsoft/compiler: Move blob_init earlier to prevent crash on failure

Reviewed-by: Bill Kristiansen <billkris@microsoft.com>
Acked-by: Michael Tang <tangm@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9846>
src/microsoft/compiler/nir_to_dxil.c