4343#include " device_dispatch_table.hpp"
4444#include " device_functions.hpp"
4545
46+ extern std::mutex g_vulkanLock;
4647
4748#define VK_LAYER_EXPORT __attribute__ ((visibility(" default" )))
4849
5354#endif
5455
5556/* *
56- * \ brief The layer configuration.
57+ * @ brief The layer configuration.
5758 */
5859#define LGL_VERSION VK_MAKE_VERSION (LGL_VER_MAJOR, LGL_VER_MINOR, LGL_VER_PATCH)
5960
@@ -62,37 +63,37 @@ static const std::array<VkLayerProperties, 1> layerProps = {
6263};
6364
6465/* *
65- * \ brief Dispatch table lookup entry.
66+ * @ brief Dispatch table lookup entry.
6667 */
6768struct DispatchTableEntry
6869{
6970 /* *
70- * \ brief The function entrypoint name.
71+ * @ brief The function entrypoint name.
7172 */
7273 const char * name;
7374
7475 /* *
75- * \ brief The function pointer.
76+ * @ brief The function pointer.
7677 */
7778 PFN_vkVoidFunction function;
7879};
7980
8081/* *
81- * \ brief Utility macro to define a lookup for a core function.
82+ * @ brief Utility macro to define a lookup for a core function.
8283 */
8384#define VK_TABLE_ENTRY (func ) \
8485 { STR (func), reinterpret_cast <PFN_vkVoidFunction>(func) }
8586
8687/* *
87- * \ brief Utility macro to define a lookup for a layer-dispatch-only function.
88+ * @ brief Utility macro to define a lookup for a layer-dispatch-only function.
8889 */
8990#define VK_TABLE_ENTRYL (func ) \
9091 { STR (func), reinterpret_cast <PFN_vkVoidFunction>(layer_##func) }
9192
9293/* *
93- * \ brief Fetch the layer function for a given instance entrypoint name.
94+ * @ brief Fetch the layer function for a given instance entrypoint name.
9495 *
95- * \ param name The layer entry point name.
96+ * @ param name The layer entry point name.
9697 *
9798 * \return The layer function pointer, or \c nullptr if the layer doesn't
9899 * intercept the function.
@@ -126,9 +127,9 @@ static PFN_vkVoidFunction get_instance_layer_function(
126127}
127128
128129/* *
129- * \ brief Fetch the layer function for a given device entrypoint name.
130+ * @ brief Fetch the layer function for a given device entrypoint name.
130131 *
131- * \ param name The layer entry point name.
132+ * @ param name The layer entry point name.
132133 *
133134 * \return The layer function pointer, or \c nullptr if the layer doesn't intercept the function.
134135 */
0 commit comments