MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / CheckVk

Function CheckVk

examples/VulkanBenchmark.cpp:1008–1011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1006}
1007
1008static void CheckVk(VkResult result, const std::string& context) {
1009 if (result != VK_SUCCESS)
1010 throw std::runtime_error(context + ": VkResult=" + std::to_string(static_cast<int>(result)));
1011}
1012
1013class DirectVulkanPreviewCompositor {
1014public:

Callers 15

SubmitMethod · 0.85
ReadbackOutputMethod · 0.85
CreateCommandPoolMethod · 0.85
CreatePipelineLayoutMethod · 0.85
CreateDescriptorPoolMethod · 0.85
AllocateDescriptorSetMethod · 0.85
CreateSamplerMethod · 0.85
CreateOutputImageMethod · 0.85
CreateSourceImageMethod · 0.85
CreateOverlayImageMethod · 0.85
CreatePipelineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected