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:
parent
e9ac2a0f4f
commit
775be75c90
1 changed files with 0 additions and 3 deletions
|
|
@ -54,9 +54,6 @@ vtable: *const VTable,
|
||||||
request_device_frame_size: usize,
|
request_device_frame_size: usize,
|
||||||
|
|
||||||
pub const VTable = struct {
|
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,
|
reference: fn (ptr: *anyopaque) void,
|
||||||
release: fn (ptr: *anyopaque) void,
|
release: fn (ptr: *anyopaque) void,
|
||||||
requestDevice: fn requestDevice(ptr: *anyopaque, descriptor: *const Device.Descriptor) callconv(.Async) RequestDeviceResponse,
|
requestDevice: fn requestDevice(ptr: *anyopaque, descriptor: *const Device.Descriptor) callconv(.Async) RequestDeviceResponse,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue