mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-14 16:19:17 +00:00
Pass subpass through to UI
This commit is contained in:
3 files changed
+8
-3
No files matched your search
@@ -426,6 +426,9 @@ struct RenderPass
|
||||
DOCUMENT("The :class:`ResourceId` of the render pass.");
|
||||
ResourceId obj;
|
||||
|
||||
DOCUMENT("The index of the current active subpass.");
|
||||
uint32_t subpass;
|
||||
|
||||
// VKTODOMED renderpass and subpass information here
|
||||
|
||||
DOCUMENT("A list of indices into the framebuffer attachments for input attachments.");
|
||||
|
||||
@@ -3090,6 +3090,7 @@ void VulkanReplay::SavePipelineState()
|
||||
{
|
||||
// Renderpass
|
||||
m_VulkanPipelineState.Pass.renderpass.obj = rm->GetOriginalID(state.renderPass);
|
||||
m_VulkanPipelineState.Pass.renderpass.subpass = state.subpass;
|
||||
if(state.renderPass != ResourceId())
|
||||
{
|
||||
m_VulkanPipelineState.Pass.renderpass.inputAttachments =
|
||||
|
||||
@@ -2072,12 +2072,13 @@ template <typename SerialiserType>
|
||||
void DoSerialise(SerialiserType &ser, VKPipe::RenderPass &el)
|
||||
{
|
||||
SERIALISE_MEMBER(obj);
|
||||
SERIALISE_MEMBER(subpass);
|
||||
SERIALISE_MEMBER(inputAttachments);
|
||||
SERIALISE_MEMBER(colorAttachments);
|
||||
SERIALISE_MEMBER(resolveAttachments);
|
||||
SERIALISE_MEMBER(depthstencilAttachment);
|
||||
|
||||
SIZE_CHECK(64);
|
||||
SIZE_CHECK(72);
|
||||
}
|
||||
|
||||
template <typename SerialiserType>
|
||||
@@ -2127,7 +2128,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::CurrentPass &el)
|
||||
SERIALISE_MEMBER(framebuffer);
|
||||
SERIALISE_MEMBER(renderArea);
|
||||
|
||||
SIZE_CHECK(120);
|
||||
SIZE_CHECK(128);
|
||||
}
|
||||
|
||||
template <typename SerialiserType>
|
||||
@@ -2178,7 +2179,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::State &el)
|
||||
|
||||
SERIALISE_MEMBER(images);
|
||||
|
||||
SIZE_CHECK(1280);
|
||||
SIZE_CHECK(1288);
|
||||
}
|
||||
|
||||
#pragma endregion Vulkan pipeline state
|
||||
|
||||
Reference in new issue
Block a user