Unused helper function

Open
#46 1 comment 0 reactions 1 assignee View on GitHub

@SaschaWillems is already working on this.

Since Jul 11, 2024.

Assessment

This issue has not been assessed yet.

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.

Dominant language
C++
Stars
424
Forks
127
Avg merge
2d 21h
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from KhronosGroup/Vulkan-Tutorial

All issues in KhronosGroup/Vulkan-Tutorial

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.