gpu: update interface to latest webgpu headers
This commit is contained in:
parent
e4f2f08431
commit
a52c6e5f5c
11 changed files with 135 additions and 31 deletions
|
|
@ -1,4 +1,6 @@
|
|||
const ChainedStruct = @import("types.zig").ChainedStruct;
|
||||
const ChainedStructOut = @import("types.zig").ChainedStructOut;
|
||||
const PowerPreference = @import("types.zig").PowerPreference;
|
||||
const Texture = @import("texture.zig").Texture;
|
||||
pub const Interface = @import("dawn_impl.zig").Interface;
|
||||
|
||||
|
|
@ -57,3 +59,19 @@ pub const TogglesDeviceDescriptor = extern struct {
|
|||
};
|
||||
}
|
||||
};
|
||||
|
||||
const AdapterPropertiesPowerPreference = extern struct {
|
||||
chain: ChainedStructOut = .{
|
||||
.next = null,
|
||||
.s_type = .dawn_adapter_properties_power_preference,
|
||||
},
|
||||
power_preference: PowerPreference = .undefined,
|
||||
};
|
||||
|
||||
const BufferDescriptorErrorInfoFromWireClient = extern struct {
|
||||
chain: ChainedStruct = .{
|
||||
.next = null,
|
||||
.s_type = .dawn_buffer_descriptor_error_info_from_wire_client,
|
||||
},
|
||||
out_of_memory: bool = false,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue