Fix the vertex attribute bindings
This commit is contained in:
parent
4ff328e074
commit
68489d6bf0
6 changed files with 38 additions and 23 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue