KhronosGroup / KhronosGroup/Vulkan-Tutorial
Unused helper function
Open
- Dominant language
- C++
- Stars
- 418
- Forks
- 126
- Avg merge
- 11d 6h
- Merged PRs (30d)
- 31
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.