{gpu,gpu-dawn}: add X11 linkage back; update to latest WebGPU API
This commit is contained in:
parent
8a15fcd694
commit
9f6020e545
5 changed files with 20 additions and 5 deletions
|
|
@ -1,5 +1,6 @@
|
|||
const std = @import("std");
|
||||
const ChainedStruct = @import("types.zig").ChainedStruct;
|
||||
const dawn = @import("dawn.zig");
|
||||
const MapModeFlags = @import("types.zig").MapModeFlags;
|
||||
const Impl = @import("interface.zig").Impl;
|
||||
|
||||
|
|
@ -64,7 +65,12 @@ pub const Buffer = opaque {
|
|||
};
|
||||
|
||||
pub const Descriptor = extern struct {
|
||||
next_in_chain: ?*const ChainedStruct = null,
|
||||
pub const NextInChain = extern union {
|
||||
generic: ?*const ChainedStruct,
|
||||
dawn_buffer_descriptor_error_info_from_wire_client: *const dawn.BufferDescriptorErrorInfoFromWireClient,
|
||||
};
|
||||
|
||||
next_in_chain: NextInChain = .{ .generic = null },
|
||||
label: ?[*:0]const u8 = null,
|
||||
usage: UsageFlags,
|
||||
size: u64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue