You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for getting global/per-instance/per-device function pointers in Rust Vulkan generator, eg. instead of a single glad_vulkan::vk::load have specific ones for the per-instance and per-device function loading like C has gladLoaderLoadVulkan which can take an instance and a device.
The text was updated successfully, but these errors were encountered:
Can you explain why the current signature is not enough? The load function takes an FnMut which should allow you to capture a device/instance and manipulate it if necessary.
Yeah I guess the current load function works fine, maybe there should be some kind of function which you can use to check if a specific function is device specific so you could use vkGetDeviceProcAddr instead of vkGetInstanceProcAddr to get the device specific functions for those if you have a specific device?
Dav1dde
changed the title
Support device specific vulkan functions in Rust Vulkan generator
Rust: Method to query if a function is a device or instance function
Feb 12, 2023
Support for getting global/per-instance/per-device function pointers in Rust Vulkan generator, eg. instead of a single
glad_vulkan::vk::load
have specific ones for the per-instance and per-device function loading like C hasgladLoaderLoadVulkan
which can take an instance and a device.The text was updated successfully, but these errors were encountered: