Hello
In Vulkan, we usually use depthStencilAttachment in pipeline and command buffers.
In pipeline creation, it is VkPipelineDepthStencilStateCreateInfo, not just VkPipelineDepthStateCreateInfo
Also, whenever depth layout or function or flag is mentioned, stencil one is also mentioned together
But, in general, we only need depthattachment or depth layout for depth test
Then why do we use depthStencilAttachment, not depthAttachment only
even in cases we don’t need stencil functions ?
Perhaps, do we need stencil functions in any cases?
I will appreciate if you can help me with this inquiry
Thank you