Task and mesh shaders are part of pre-rasterization library interface

This commit is contained in:
baldurk
2025-02-24 18:52:49 +00:00
parent f3129c908c
commit 2bb425563b
+5
View File
@@ -1587,6 +1587,11 @@ void VulkanCreationInfo::Pipeline::Init(VulkanResourceManager *resourceMan,
shaders[i] = pipeInfo.shaders[i];
info.m_ShaderModule[shaders[i].module].m_PipeReferences[id] = pipeid;
}
for(uint32_t i : {(uint32_t)ShaderStage::Task, (uint32_t)ShaderStage::Mesh})
{
shaders[i] = pipeInfo.shaders[i];
info.m_ShaderModule[shaders[i].module].m_PipeReferences[id] = pipeid;
}
vertLayout = pipeInfo.vertLayout;