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
I was implementing a C API for basically creating a wgpu::Device and wgpu::Queue piece by piece from Vulkan objects, this structure seems required to be able to query the device features that wgpu needs but can't be used because it's private. This was the only obstacle I encountered while doing this and otherwise the wgpu-hal API seems to work very well for this use-case, so unless I missed something this appears to be a mistake and the struct should just be re-exported or the adapter module made public?
PhysicalDeviceProperties also seems to have the same problem since it too is grayed out in the docs.
The text was updated successfully, but these errors were encountered:
vulkan::Adapter::physical_device_features
returnsPhysicalDeviceFeatures
and is a public function, but thePhysicalDeviceFeatures
struct is private.I was implementing a C API for basically creating a
wgpu::Device
andwgpu::Queue
piece by piece from Vulkan objects, this structure seems required to be able to query the device features that wgpu needs but can't be used because it's private. This was the only obstacle I encountered while doing this and otherwise thewgpu-hal
API seems to work very well for this use-case, so unless I missed something this appears to be a mistake and the struct should just be re-exported or theadapter
module made public?PhysicalDeviceProperties
also seems to have the same problem since it too is grayed out in the docs.The text was updated successfully, but these errors were encountered: