[vulkan] Increase (and unify) va context count

The increase wasn't really necessary, but I noticed that windows was
still at 4... not so good.
This commit is contained in:
Bill Currie 2023-07-03 19:53:53 +09:00
parent 76b110bf0b
commit 45e09673c7
3 changed files with 4 additions and 2 deletions

View file

@ -10,6 +10,8 @@
#include "QF/qtypes.h"
#include "QF/simd/types.h"
#define VA_CTX_COUNT 64
typedef struct qfv_renderpassset_s
DARRAY_TYPE (struct qfv_orenderpass_s *) qfv_renderpassset_t;

View file

@ -184,7 +184,7 @@ Win_Vulkan_Context (vid_internal_t *vi)
ctx->create_window = win_vulkan_create_window;
ctx->create_surface = win_vulkan_create_surface;
ctx->required_extensions = required_extensions;
ctx->va_ctx = va_create_context (4);
ctx->va_ctx = va_create_context (VA_CTX_COUNT);
ctx->twod_scale = 1;
vi->ctx = ctx;

View file

@ -223,7 +223,7 @@ X11_Vulkan_Context (vid_internal_t *vi)
ctx->create_window = x11_vulkan_create_window;
ctx->create_surface = x11_vulkan_create_surface;
ctx->required_extensions = required_extensions;
ctx->va_ctx = va_create_context (32);
ctx->va_ctx = va_create_context (VA_CTX_COUNT);
ctx->twod_scale = 1;
vi->ctx = ctx;