projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88d02a1
)
nir/spirv: Make the header file C++ safe
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 25 Jun 2015 02:01:10 +0000
(19:01 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 25 Jun 2015 02:01:10 +0000
(19:01 -0700)
src/glsl/nir/nir_spirv.h
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir_spirv.h
b/src/glsl/nir/nir_spirv.h
index 789d30cd672be4051a73a332a9b77a214db304e1..3254f10a88d36f0ecc277ad618e751735140df83 100644
(file)
--- a/
src/glsl/nir/nir_spirv.h
+++ b/
src/glsl/nir/nir_spirv.h
@@
-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_ */