From 775be75c9063c9ca97d469a9f6c2f4eb1178f0bf Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Fri, 11 Mar 2022 13:52:56 -0700 Subject: [PATCH] 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 --- gpu/src/Adapter.zig | 3 --- 1 file changed, 3 deletions(-) diff --git a/gpu/src/Adapter.zig b/gpu/src/Adapter.zig index fdf4c1b9..5e40cd40 100644 --- a/gpu/src/Adapter.zig +++ b/gpu/src/Adapter.zig @@ -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,