gpu: internalize Instance types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
223f10446a
commit
b6eb989dfa
3 changed files with 6 additions and 6 deletions
|
|
@ -1221,7 +1221,7 @@ pub fn Export(comptime T: type) type {
|
|||
|
||||
/// A stub gpu.Interface in which every function is implemented by `unreachable;`
|
||||
pub const StubInterface = Interface(struct {
|
||||
pub inline fn createInstance(descriptor: ?*const Instance.Descriptor) ?Instance {
|
||||
pub inline fn createInstance(descriptor: ?*const Instance.Descriptor) ?*Instance {
|
||||
_ = descriptor;
|
||||
unreachable;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue