#asahi-gpu · 2023-10-13 15:26
ydaltonella-0: thanks!#asahi-gpu · 2023-10-13 12:38
ydaltonif i understood correctly, vk_entrypoints_gen.py takes a driver prefix (agxv in this example) and it creates two C files and that's where the mapping happens, is my understanding correct?#asahi-gpu · 2023-10-13 12:32
ydaltonalyssa: i think that answers my question, thanks!#asahi-gpu · 2023-10-13 12:10
ydaltona question for the agxv devs: i see in agxv_instance.c a function called agxv_CreateInstance() is defined which is presumably what is called when you call vkCreateInstance in a vulkan application. my question is, how does the vulkan driver know to call that function? is there a struct that lays out function pointers to driver specific functions? similar to the file_operations struct in the linux kernel. thanks!