gpu: convert Texture from enum(usize) to *opaque
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
7f952545b9
commit
c0ad349a12
7 changed files with 202 additions and 197 deletions
|
|
@ -1,5 +1,6 @@
|
|||
const ChainedStruct = @import("types.zig").ChainedStruct;
|
||||
const Texture = @import("texture.zig").Texture;
|
||||
const TextureUsageFlags = @import("texture.zig").TextureUsageFlags;
|
||||
|
||||
pub const CacheDeviceDescriptor = extern struct {
|
||||
// TODO: file an issue on Dawn: why not named nextInChain?
|
||||
|
|
@ -21,7 +22,7 @@ pub const InstanceDescriptor = extern struct {
|
|||
|
||||
pub const TextureInternalUsageDescriptor = extern struct {
|
||||
chain: ChainedStruct,
|
||||
internal_usage: Texture.UsageFlags,
|
||||
internal_usage: TextureUsageFlags,
|
||||
};
|
||||
|
||||
pub const TogglesDeviceDescriptor = extern struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue