nir/spirv: move NORETURN annotation on _vtn_fail() prototype
authorBrian Paul <brianp@vmware.com>
Fri, 30 Mar 2018 17:07:46 +0000 (11:07 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 30 Mar 2018 20:33:33 +0000 (14:33 -0600)
commitc58c9f712d89c1004a0e455c1ed02ff6e8f4fb3c
treedc0ed57c1e4812913600f127ce282d0571490193
parent84be45fc20b27bb388e5f66f8e03a3f74cef7f9b
nir/spirv: move NORETURN annotation on _vtn_fail() prototype

This needs to before the function, not after, to compile with MSVC.
This works with gcc too.

Reviewed-by: Neil Roberts <nroberts@igalia.com>
src/compiler/spirv/vtn_private.h