diff options
author | grm <grm@eyesin.space> | 2024-06-06 13:41:08 +0300 |
---|---|---|
committer | grm <grm@eyesin.space> | 2024-06-06 13:41:08 +0300 |
commit | 1a6f8e62cb9eba6988c780a45c54509a762644c5 (patch) | |
tree | afe523416d2cd5c57f403dd5a36d28a9c513ed30 /src/vksetup.h | |
parent | 181edce08e0b914b7274571b7feb1ea8b1f341d8 (diff) | |
download | cgame-1a6f8e62cb9eba6988c780a45c54509a762644c5.tar.gz cgame-1a6f8e62cb9eba6988c780a45c54509a762644c5.tar.bz2 cgame-1a6f8e62cb9eba6988c780a45c54509a762644c5.zip |
build changes
Diffstat (limited to 'src/vksetup.h')
-rw-r--r-- | src/vksetup.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vksetup.h b/src/vksetup.h index 273a785..608975b 100644 --- a/src/vksetup.h +++ b/src/vksetup.h @@ -47,6 +47,10 @@ #include <shaderc/shaderc.h> +#define VMA_STATIC_VULKAN_FUNCTIONS 0 +#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1 +#include "vk_mem_alloc.h" + #include "../lib/cglm/include/cglm/cglm.h" #define VK_ARRAY_LEN(arr) sizeof((arr))/sizeof((arr)[0]) @@ -192,6 +196,8 @@ typedef struct vks_context { vks_image color_image; vks_image depth_image; + VmaAllocator allocator; + VkSampleCountFlagBits msaa_samples; } vks_context; |