amber icon indicating copy to clipboard operation
amber copied to clipboard

[vulkan] Use runtime switch to select lambda vs function pointer

Open dj2 opened this issue 6 years ago • 0 comments

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.

dj2 avatar Mar 05 '19 14:03 dj2