mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[vulkan] Fix some comments and developer output
This commit is contained in:
parent
9429539f2f
commit
9237d83b56
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue