mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[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:
parent
76b110bf0b
commit
45e09673c7
3 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue