gpu: internalize Texture types

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 00:10:38 -07:00 committed by Stephen Gutekanst
parent 0dae027602
commit cccfef52f9
10 changed files with 221 additions and 232 deletions

View file

@ -3,7 +3,6 @@ const ShaderStageFlags = @import("types.zig").ShaderStageFlags;
const Buffer = @import("buffer.zig").Buffer;
const Sampler = @import("sampler.zig").Sampler;
const Texture = @import("texture.zig").Texture;
const TextureBindingLayout = @import("texture.zig").TextureBindingLayout;
const StorageTextureBindingLayout = @import("types.zig").StorageTextureBindingLayout;
const Impl = @import("interface.zig").Impl;
@ -14,7 +13,7 @@ pub const BindGroupLayout = opaque {
visibility: ShaderStageFlags,
buffer: Buffer.BindingLayout,
sampler: Sampler.BindingLayout,
texture: TextureBindingLayout,
texture: Texture.BindingLayout,
storage_texture: StorageTextureBindingLayout,
};