FacticiusVir / SharpVk

C# Bindings for the Vulkan API & SPIR-V
MIT License
147 stars 18 forks source link

Profiling category not set for the various Vulkan functions #61

Open myblindy opened 4 years ago

myblindy commented 4 years ago

I'm referring to the new category column for profiling events introduced in VS 2019: image

With no additional markup, the profiler has no idea that these calls are actually Graphics calls (though it is apparently guessing for some of them). Is there a way to mark the functions that send (and especially wait for) graphics card events as Graphics for this list?

FacticiusVir commented 4 years ago

I've not looked at these before, so I'm not sure how these would be specified - I notice the calls marked as Graphics are those that will require communication with the GPU (Queue Present/Queue Submit, Wait for Fences) while the others are typically constrained to the driver (e.g. Command Buffer calls). Let me do some digging and I'll see if I can add category decorators/attributes.