JBR-7840 Vulkan: Fix compilation in Docker container

This commit is contained in:
Nikita Gubarkov
2024-11-01 21:35:45 +01:00
parent 4329a53f4b
commit 485be93b11
2 changed files with 1 additions and 4 deletions

View File

@@ -682,8 +682,7 @@ void VKRenderer_FlushRenderPass(VKSDOps* surface) {
.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO,
.renderPass = surface->renderPass->context->renderPass,
.framebuffer = surface->renderPass->framebuffer,
.renderArea.offset = (VkOffset2D){0, 0},
.renderArea.extent = surface->image->extent,
.renderArea = (VkRect2D) {{0, 0}, surface->image->extent},
.clearValueCount = 0,
.pClearValues = NULL
};

View File

@@ -86,7 +86,6 @@ void VKUtil_LogResultError(const char* string, VkResult result) {
RESULT(VK_ERROR_INVALID_EXTERNAL_HANDLE);
RESULT(VK_ERROR_FRAGMENTATION);
RESULT(VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS);
RESULT(VK_PIPELINE_COMPILE_REQUIRED);
RESULT(VK_ERROR_SURFACE_LOST_KHR);
RESULT(VK_ERROR_NATIVE_WINDOW_IN_USE_KHR);
RESULT(VK_SUBOPTIMAL_KHR);
@@ -107,7 +106,6 @@ void VKUtil_LogResultError(const char* string, VkResult result) {
RESULT(VK_THREAD_DONE_KHR);
RESULT(VK_OPERATION_DEFERRED_KHR);
RESULT(VK_OPERATION_NOT_DEFERRED_KHR);
RESULT(VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR);
RESULT(VK_ERROR_COMPRESSION_EXHAUSTED_EXT);
RESULT(VK_ERROR_INCOMPATIBLE_SHADER_BINARY_EXT);
default: r = "<UNKNOWN>"; break;