ac_shadowed_regs.h can be included from si_state_draw.cpp so this commit
adds the needed guards.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8433>
SI_NUM_ALL_REG_RANGES,
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef void (*set_context_reg_seq_array_fn)(struct radeon_cmdbuf *cs, unsigned reg, unsigned num,
const uint32_t *values);
unsigned reg_offset, unsigned count);
void ac_print_shadowed_regs(const struct radeon_info *info);
+#ifdef __cplusplus
+}
+#endif
+
+
#endif