2021-05-22 23:01:43 +02:00
|
|
|
#pragma once
|
2023-02-23 22:48:41 +01:00
|
|
|
|
2021-05-22 23:01:43 +02:00
|
|
|
#include "xash3d_types.h"
|
|
|
|
|
2023-02-23 22:48:41 +01:00
|
|
|
#define VK_NO_PROTOTYPES
|
|
|
|
#include <vulkan/vulkan.h>
|
|
|
|
|
|
|
|
#ifdef USE_AFTERMATH
|
2021-05-22 23:01:43 +02:00
|
|
|
qboolean VK_AftermathInit();
|
|
|
|
void VK_AftermathShutdown();
|
2021-06-06 23:17:35 +02:00
|
|
|
#endif
|
2023-02-23 22:48:41 +01:00
|
|
|
|
|
|
|
void R_Vk_NV_CheckpointF(VkCommandBuffer cmdbuf, const char *fmt, ...);
|
|
|
|
void R_Vk_NV_Checkpoint_Dump(void);
|
|
|
|
|
|
|
|
#define DEBUG_NV_CHECKPOINTF(cmdbuf, fmt, ...) \
|
|
|
|
do { \
|
|
|
|
if (vk_core.nv_checkpoint) { \
|
|
|
|
R_Vk_NV_CheckpointF(cmdbuf, fmt, ##__VA_ARGS__); \
|
|
|
|
} \
|
|
|
|
} while(0)
|
|
|
|
|
|
|
|
#define DEBUG_NV_CHECKPOINT_DUMP() \
|
|
|
|
do { \
|
|
|
|
if (vk_core.nv_checkpoint) { \
|
|
|
|
R_Vk_NV_Checkpoint_Dump(); \
|
|
|
|
} \
|
|
|
|
} while(0)
|