Hello. I have tried to enable early depth (fragment) testing with Vulkan, but I couldn’t find a way to do this. Do you know how to do this?
The specs doesn’t seem to explain this, though according to this post they did in the past in the “fragment operations” chapter. However, this topic has been disappeared since then.
add
layout(early_fragment_tests) in;
in fragment shader