[vulkan] Fix some formtatting

Both code and developer output.
This commit is contained in:
Bill Currie 2021-01-07 22:49:43 +09:00
parent 90428db3d5
commit b6d2c63059
2 changed files with 2 additions and 3 deletions

View File

@ -124,9 +124,7 @@ vulkan_SCR_UpdateScreen (double time, void (*f)(void), void (**g)(void))
= VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT;
VkSubmitInfo submitInfo = {
VK_STRUCTURE_TYPE_SUBMIT_INFO, 0,
1,
&framebuffer->imageAvailableSemaphore,
&waitStage,
1, &framebuffer->imageAvailableSemaphore, &waitStage,
1, &framebuffer->cmdBuffer,
1, &framebuffer->renderDoneSemaphore,
};

View File

@ -74,6 +74,7 @@ QFV_CreateRenderPass (qfv_device_t *device,
if (developer->int_val & SYS_VULKAN) {
Sys_Printf ("attachments: %ld\n", attachments->size);
for (size_t i = 0; i < attachments->size; i++) {
Sys_Printf (" attachment: %zd\n", i);
Sys_Printf (" flags: %x\n", attachments->a[i].flags);
Sys_Printf (" format: %d\n", attachments->a[i].format);
Sys_Printf (" samples: %x\n", attachments->a[i].samples);