u_threaded_context: Support including from C++
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Marek Olák <marek.olsak@amd.com> Reviewed By: Bill Kristiansen <billkris@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13670>
This commit is contained in:
parent
38f0b36f1a
commit
00016b4251
|
@ -202,6 +202,10 @@
|
||||||
#include "util/u_thread.h"
|
#include "util/u_thread.h"
|
||||||
#include "util/slab.h"
|
#include "util/slab.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
struct threaded_context;
|
struct threaded_context;
|
||||||
struct tc_unflushed_batch_token;
|
struct tc_unflushed_batch_token;
|
||||||
|
|
||||||
|
@ -608,4 +612,8 @@ tc_buffer_disable_cpu_storage(struct pipe_resource *buf)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue