mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[vulkan] Fix some formtatting
Both code and developer output.
This commit is contained in:
parent
90428db3d5
commit
b6d2c63059
2 changed files with 2 additions and 3 deletions
|
@ -124,9 +124,7 @@ vulkan_SCR_UpdateScreen (double time, void (*f)(void), void (**g)(void))
|
||||||
= VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT;
|
= VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT;
|
||||||
VkSubmitInfo submitInfo = {
|
VkSubmitInfo submitInfo = {
|
||||||
VK_STRUCTURE_TYPE_SUBMIT_INFO, 0,
|
VK_STRUCTURE_TYPE_SUBMIT_INFO, 0,
|
||||||
1,
|
1, &framebuffer->imageAvailableSemaphore, &waitStage,
|
||||||
&framebuffer->imageAvailableSemaphore,
|
|
||||||
&waitStage,
|
|
||||||
1, &framebuffer->cmdBuffer,
|
1, &framebuffer->cmdBuffer,
|
||||||
1, &framebuffer->renderDoneSemaphore,
|
1, &framebuffer->renderDoneSemaphore,
|
||||||
};
|
};
|
||||||
|
|
|
@ -74,6 +74,7 @@ QFV_CreateRenderPass (qfv_device_t *device,
|
||||||
if (developer->int_val & SYS_VULKAN) {
|
if (developer->int_val & SYS_VULKAN) {
|
||||||
Sys_Printf ("attachments: %ld\n", attachments->size);
|
Sys_Printf ("attachments: %ld\n", attachments->size);
|
||||||
for (size_t i = 0; i < attachments->size; i++) {
|
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 (" flags: %x\n", attachments->a[i].flags);
|
||||||
Sys_Printf (" format: %d\n", attachments->a[i].format);
|
Sys_Printf (" format: %d\n", attachments->a[i].format);
|
||||||
Sys_Printf (" samples: %x\n", attachments->a[i].samples);
|
Sys_Printf (" samples: %x\n", attachments->a[i].samples);
|
||||||
|
|
Loading…
Reference in a new issue