The spec doesn’t seem to allow setting null pointers for the front/back fields of VkPipelineDepthStencilStateCreateInfo when stencilTestEnable is set to VK_FALSE. Is this a bug in the spec or is there a reason why we need to provide two valid structures even though we’re not doing stencil test? Thanks
Firstly front
and back
are not pointers.
Otherwisely it sounds like a valid question: why it cannot be left uninitialized?
VkGraphicsPipelineCreateInfo
is a complicated structure and such things can get forgotten.
I have a similar Issue on some of its current illogicalities.
Maybe make a new Issue or append it there.