Depth attachment empty

Hello! I am trying to learn vulkan and my work is going pretty well, except for a depth buffer, i can not make depth buffer work. This is what i see inside actual application, also i checked render doc and depth buffer attachment is completely empty(white)

This is rendered with VK_COMPARE_OP_LESS_OR_EQUAL, if u use OP_LESS, i get no image at all, i assume this is because everything got discarded due to empty depth buffer attachment

What are most common mistakes in terms of depth buffer? I understand that this is a hard task to help me without providing whole code, but it is quite a lot of code. I am using default options for creating depth buffers and pipelines which are provided in many tutorials.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.