projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
amd/common: Add extern "C" to some headers that were missing it.
[mesa.git]
/
src
/
amd
/
common
/
ac_shader_util.h
diff --git
a/src/amd/common/ac_shader_util.h
b/src/amd/common/ac_shader_util.h
index b522aaa90febdf14c49745f2f787c348ef50bf57..20b291256eb808a38eb09de471e8227b9a4747fb 100644
(file)
--- a/
src/amd/common/ac_shader_util.h
+++ b/
src/amd/common/ac_shader_util.h
@@
-31,6
+31,10
@@
#include "ac_binary.h"
#include "compiler/nir/nir.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum ac_image_dim {
ac_image_1d,
ac_image_2d,
@@
-69,4
+73,8
@@
ac_get_fs_input_vgpr_cnt(const struct ac_shader_config *config,
signed char *face_vgpr_index,
signed char *ancillary_vgpr_index);
+#ifdef __cplusplus
+}
+#endif
+
#endif