amd/common: Add extern "C" to some headers that were missing it.
[mesa.git] / src / amd / common / ac_shader_util.h
index b522aaa90febdf14c49745f2f787c348ef50bf57..20b291256eb808a38eb09de471e8227b9a4747fb 100644 (file)
 #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