Hello,
It is said that vkGetInstanceProcAddr can be used to get any API function pointer
Then what is the difference between
vkGetInstanceProcAddr(inst, “some api”) , where inst may be nullptr
and
vkGetDeviceProcAddr(device, “some api”)
Hello,
It is said that vkGetInstanceProcAddr can be used to get any API function pointer
Then what is the difference between
vkGetInstanceProcAddr(inst, “some api”) , where inst may be nullptr
and
vkGetDeviceProcAddr(device, “some api”)
The difference is that the device function saves a dispatch. The instance one has to make sure that your function calls will work with all devices, the device one gives you function pointers that only work with that device.
Oh, I understand
Thank you and see you, Sascha