[vulkan] Use runtime switch to select lambda vs function pointer
Open
enhancement
- Dominant language
- C++
- Stars
- 228
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
With #328 we generate either the function pointers or lambdas at build time for the vulkan calls. Since we want to add a run-time flag anyway to enable/disable the logging information we can have that runtime flag switch between using the function pointer and lambda versions. This means that it's zero cost if we don't do the logging.
Contributor guide
Assessment
This issue has not been assessed yet.