Vulkan: Provide utilities to put markers and labels where needed in the GPUmodule #106098
|
@ -110,10 +110,10 @@ static void vulkan_dynamic_debug_functions(VKContext *context, PFN_vkGetInstance
|
|||
}
|
||||
}
|
||||
|
||||
bool init_callbacks(VKContext *contex, PFN_vkGetInstanceProcAddr instload)
|
||||
bool init_callbacks(VKContext *context, PFN_vkGetInstanceProcAddr instload)
|
||||
{
|
||||
if (instload) {
|
||||
vulkan_dynamic_debug_functions(contex, instload);
|
||||
vulkan_dynamic_debug_functions(context, instload);
|
||||
return true;
|
||||
};
|
||||
return false;
|
||||
vnapdv marked this conversation as resolved
|
||||
|
|
Loading…
Reference in New Issue
use
context
when referring toVKContext
(be consistent with other areas of the code-base)When referring to instances of the Vulkan API it is used. Eg VkCommandBuffer parameters should be named
vk_command_buffer
VKCommandBuffer (internal class) should be referred to ascommand_buffer
.Abbreviations like
q
should not be used, just call them what they arequeue
.etc