mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-7840 Vulkan: Fix compilation in Docker container
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user