You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function itself could be used to check if you have a pure depth format with no stencil part. In such a case, you need to use different image aspects in some places.
But this is indeed not used in any of the source files. I'll look into this.
I'm still new at Vulkan and followed the tutorial until multisampling. During deph buffering chapter we create a helper function:
bool hasStencilComponent(VkFormat format) {
return format == VK_FORMAT_D32_SFLOAT_S8_UINT || format == VK_FORMAT_D24_UNORM_S8_UINT;
}
But in the source code, it's not used anywhere.
The text was updated successfully, but these errors were encountered: