diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-06-28 11:57:22 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-07-05 11:25:43 +0200 |
commit | 0e80b3b527c594274e83a4337eaa3e293c81544e (patch) | |
tree | 40bca0f650bcdbb1d7b7b716842ae1349f7d0c8c /src/gui/rhi/qrhivulkan_p.h | |
parent | ee736717d35d10d15e05a8b93255088889f3a9ce (diff) |
rhi: vulkan: Include multiViewCount in renderpass compatibility
Change-Id: I3185ce27c52c138053fee4805eccbe3575b9433a
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhivulkan_p.h')
-rw-r--r-- | src/gui/rhi/qrhivulkan_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/rhi/qrhivulkan_p.h b/src/gui/rhi/qrhivulkan_p.h index d7671fb49b..02af3d90dc 100644 --- a/src/gui/rhi/qrhivulkan_p.h +++ b/src/gui/rhi/qrhivulkan_p.h @@ -162,6 +162,7 @@ struct QVkRenderPassDescriptor : public QRhiRenderPassDescriptor QVarLengthArray<VkAttachmentReference, 8> resolveRefs; QVarLengthArray<VkSubpassDependency, 2> subpassDeps; bool hasDepthStencil = false; + uint32_t multiViewCount = 0; VkAttachmentReference dsRef; QVector<quint32> serializedFormatData; QRhiVulkanRenderPassNativeHandles nativeHandlesStruct; @@ -178,6 +179,7 @@ struct QVkRenderTargetData int colorAttCount = 0; int dsAttCount = 0; int resolveAttCount = 0; + int multiViewCount = 0; QRhiRenderTargetAttachmentTracker::ResIdList currentResIdList; static const int MAX_COLOR_ATTACHMENTS = 8; }; |