gpu: name the interface gpu.Interface
`gpu.Device` should be reserved for WGPUDevice Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
414887db2a
commit
2e0a7019b2
3 changed files with 9 additions and 9 deletions
|
|
@ -1,9 +1,9 @@
|
|||
//! A native webgpu.h based implementation of the Device interface.
|
||||
const Device = @import("Device.zig");
|
||||
//! A native webgpu.h implementation of the gpu.Interface
|
||||
const Interface = @import("Interface.zig");
|
||||
|
||||
/// Returns a native WebGPU implementation of the Device interface.
|
||||
pub fn native() Device {
|
||||
// TODO: implement Device interface
|
||||
/// Returns a native webgpu.h implementation of the gpu.Interface
|
||||
pub fn native() Interface {
|
||||
// TODO: implement Interface
|
||||
@panic("not implemented");
|
||||
|
||||
// TODO: implement Adapter interface:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue