Fix the vertex attribute bindings

This commit is contained in:
Magnus Norddahl 2025-01-23 14:52:25 +01:00
commit 68489d6bf0
6 changed files with 38 additions and 23 deletions

View file

@ -686,9 +686,9 @@ int VulkanRenderDevice::GetLevelMeshPipelineID(const MeshApplyData& applyData, c
VkPipelineKey pipelineKey;
pipelineKey.DrawType = DT_Triangles;
pipelineKey.VertexFormat = levelVertexFormatIndex;
pipelineKey.RenderStyle = applyData.RenderStyle;
pipelineKey.DepthFunc = applyData.DepthFunc;
pipelineKey.ShaderKey.VertexFormat = levelVertexFormatIndex;
if (applyData.SpecialEffect > EFF_NONE)
{
pipelineKey.ShaderKey.SpecialEffect = applyData.SpecialEffect;