mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 14:10:11 +01:00
2c4d0846d4
- make staging/prep phase use separate command buffer - flush this command buffer early if needed - move command pool to its own module - move shader loading stuff to pipeline module - cleanup lots of command buffer passing for model loading, it can use staging explicitly now
11 lines
239 B
C
11 lines
239 B
C
#include "vk_core.h"
|
|
|
|
typedef struct {
|
|
VkCommandPool pool;
|
|
VkCommandBuffer *buffers;
|
|
int buffers_count;
|
|
} vk_command_pool_t;
|
|
|
|
vk_command_pool_t R_VkCommandPoolCreate( int count );
|
|
void R_VkCommandPoolDestroy( vk_command_pool_t *pool );
|