gpu: remove TODO about wgpuAdapterCreateDevice

`wgpuAdapterCreateDevice` is Dawn-specific, and is just a helper for calling the
async method. We don't need it.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 13:52:56 -07:00 committed by Stephen Gutekanst
parent e9ac2a0f4f
commit 775be75c90

View file

@ -54,9 +54,6 @@ vtable: *const VTable,
request_device_frame_size: usize,
pub const VTable = struct {
// TODO: is this method actually useful over requestDevice? Doesn't appear to be available in
// web either:
// WGPU_EXPORT WGPUDevice wgpuAdapterCreateDevice(WGPUAdapter adapter, WGPUDeviceDescriptor const * descriptor);
reference: fn (ptr: *anyopaque) void,
release: fn (ptr: *anyopaque) void,
requestDevice: fn requestDevice(ptr: *anyopaque, descriptor: *const Device.Descriptor) callconv(.Async) RequestDeviceResponse,