mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-20 18:52:28 +00:00
[vulkan] Fix a couple of minor issues
Magic number for compose descriptors and mistaken masking of vulkan plist parse errors.
This commit is contained in:
parent
52bfb0aeb0
commit
2918410b30
2 changed files with 3 additions and 3 deletions
|
@ -986,8 +986,7 @@ parse_object (vulkan_ctx_t *ctx, memsuper_t *memsuper, plitem_t *plist,
|
|||
|
||||
if (!parser (0, plist, object, messages, &parsectx)) {
|
||||
for (int i = 0; i < PL_A_NumObjects (messages); i++) {
|
||||
Sys_MaskPrintf (SYS_vulkan_parse, "%s\n",
|
||||
PL_String (PL_ObjectAtIndex (messages, i)));
|
||||
Sys_Printf ("%s\n", PL_String (PL_ObjectAtIndex (messages, i)));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -88,7 +88,8 @@ Vulkan_Compose_Draw (vulkan_ctx_t *ctx)
|
|||
= ctx->attachment_views->a[QFV_attachOpaque];
|
||||
cframe->imageInfo[1].imageView
|
||||
= ctx->attachment_views->a[QFV_attachTranslucent];
|
||||
dfunc->vkUpdateDescriptorSets (device->dev, 2, cframe->descriptors, 0, 0);
|
||||
dfunc->vkUpdateDescriptorSets (device->dev, COMPOSE_IMAGE_INFOS,
|
||||
cframe->descriptors, 0, 0);
|
||||
|
||||
VkDescriptorSet sets[] = {
|
||||
cframe->descriptors[0].dstSet,
|
||||
|
|
Loading…
Reference in a new issue