nir/spirv: Make the header file C++ safe
This commit is contained in:
parent
88d02a1b27
commit
1bc0a1ad98
|
@ -32,7 +32,15 @@
|
|||
|
||||
#include "nir.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
nir_shader *spirv_to_nir(const uint32_t *words, size_t word_count,
|
||||
const nir_shader_compiler_options *options);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _NIR_SPIRV_H_ */
|
||||
|
|
Loading…
Reference in New Issue