gpu: correct extern declarations

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 21:09:20 -07:00 committed by Stephen Gutekanst
parent 616395c583
commit fd948f4e8c
4 changed files with 5 additions and 5 deletions

View file

@ -1,13 +1,13 @@
const ChainedStruct = @import("types.zig").ChainedStruct;
const Texture = @import("texture.zig").Texture;
pub const CacheDeviceDescriptor = struct {
pub const CacheDeviceDescriptor = extern struct {
// TODO: file an issue on Dawn: why not named nextInChain?
chain: ChainedStruct,
isolation_key: [*:0]const u8,
};
pub const EncoderInternalUsageDescriptor = struct {
pub const EncoderInternalUsageDescriptor = extern struct {
// TODO: file an issue on Dawn: why not named nextInChain?
chain: ChainedStruct,
use_internal_usages: bool,