Skip to content

Commit 2bb4255

Browse files
committed
Task and mesh shaders are part of pre-rasterization library interface
1 parent f3129c9 commit 2bb4255

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

renderdoc/driver/vulkan/vk_info.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,11 @@ void VulkanCreationInfo::Pipeline::Init(VulkanResourceManager *resourceMan,
15871587
shaders[i] = pipeInfo.shaders[i];
15881588
info.m_ShaderModule[shaders[i].module].m_PipeReferences[id] = pipeid;
15891589
}
1590+
for(uint32_t i : {(uint32_t)ShaderStage::Task, (uint32_t)ShaderStage::Mesh})
1591+
{
1592+
shaders[i] = pipeInfo.shaders[i];
1593+
info.m_ShaderModule[shaders[i].module].m_PipeReferences[id] = pipeid;
1594+
}
15901595

15911596
vertLayout = pipeInfo.vertLayout;
15921597

0 commit comments

Comments
 (0)