KhronosGroup / Vulkan-Samples

One stop solution for all Vulkan samples
Apache License 2.0
4.33k stars 648 forks source link

Add availability checks for debug report extension usage #1072

Closed kocdemir closed 4 months ago

kocdemir commented 5 months ago

Description

Adding the missing condition checks before using the structures and functions from the VK_EXT_debug_report extension in the samples.

Normal functionality should not change when the extension is supported, tested on a device where the extension is missing.

CLAassistant commented 5 months ago

CLA assistant check
All committers have signed the CLA.

SaschaWillems commented 5 months ago

Thank you very much for your contribution. Note that CI fails at the clang format step, which means you need to properly format your changes with clang-format, see https://github.com/KhronosGroup/Vulkan-Samples/actions/runs/9530177624/job/26297193969?pr=1072

kocdemir commented 5 months ago

Thanks, I've updated the file now.