Skip to content

Add missing checks for existence of states during pipeline creation

Vulkan spec permits next states to be NULL in certain cases:

  • pTessellationState
  • pViewportState
  • pMultisampleState
  • pDepthStencilState
  • pColorBlendState
  • pDynamicState

The lack of checks caused crashes during capturing pipelines of The Witness and The Witcher 3.

It is backward incompatible change since I added field to binary format.

Merge request reports

Loading