[vulkan] Fix some comments and developer output

This commit is contained in:
Bill Currie 2022-05-09 22:57:41 +09:00
parent 9429539f2f
commit 9237d83b56
2 changed files with 4 additions and 4 deletions

View file

@ -69,8 +69,8 @@ typedef struct clearvalueset_s
DARRAY_TYPE (VkClearValue) clearvalueset_t;
typedef struct qfv_renderpass_s {
vec4f_t color; // for bebugging
const char *name; // for bebugging
vec4f_t color; // for debugging
const char *name; // for debugging
struct plitem_s *renderpassDef;
VkRenderPass renderpass;
clearvalueset_t *clearValues;

View file

@ -71,13 +71,13 @@ QFV_CreateSwapchain (vulkan_ctx_t *ctx, VkSwapchainKHR old_swapchain)
} else {
imageSize = surfCaps.currentExtent;
}
Sys_MaskPrintf (SYS_vulkan, "%d [%d, %d]\n", numImages,
Sys_MaskPrintf (SYS_vulkan, "swapchain: %d [%d, %d]\n", numImages,
imageSize.width, imageSize.height);
VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT;
imageUsage |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT;
imageUsage &= surfCaps.supportedUsageFlags;
Sys_MaskPrintf (SYS_vulkan, "%x %x\n", imageUsage,
Sys_MaskPrintf (SYS_vulkan, " usage:%x supported:%x\n", imageUsage,
surfCaps.supportedUsageFlags);
VkSurfaceTransformFlagBitsKHR surfTransform