mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +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)) {
|
if (!parser (0, plist, object, messages, &parsectx)) {
|
||||||
for (int i = 0; i < PL_A_NumObjects (messages); i++) {
|
for (int i = 0; i < PL_A_NumObjects (messages); i++) {
|
||||||
Sys_MaskPrintf (SYS_vulkan_parse, "%s\n",
|
Sys_Printf ("%s\n", PL_String (PL_ObjectAtIndex (messages, i)));
|
||||||
PL_String (PL_ObjectAtIndex (messages, i)));
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,7 +88,8 @@ Vulkan_Compose_Draw (vulkan_ctx_t *ctx)
|
||||||
= ctx->attachment_views->a[QFV_attachOpaque];
|
= ctx->attachment_views->a[QFV_attachOpaque];
|
||||||
cframe->imageInfo[1].imageView
|
cframe->imageInfo[1].imageView
|
||||||
= ctx->attachment_views->a[QFV_attachTranslucent];
|
= 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[] = {
|
VkDescriptorSet sets[] = {
|
||||||
cframe->descriptors[0].dstSet,
|
cframe->descriptors[0].dstSet,
|
||||||
|
|
Loading…
Reference in a new issue