gpu: move Texture.ViewDimension -> TextureView.Dimension

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 16:40:43 -07:00 committed by Stephen Gutekanst
parent 1c0f5c0b03
commit bbd058f23e
7 changed files with 24 additions and 19 deletions

View file

@ -1,4 +1,5 @@
const Texture = @import("Texture.zig");
const TextureView = @import("TextureView.zig");
const PredefinedColorSpace = @import("enums.zig").PredefinedColorSpace;
const ExternalTexture = @This();
@ -33,8 +34,8 @@ pub inline fn destroy(texture: ExternalTexture) void {
pub const Descriptor = struct {
label: ?[*:0]const u8 = null,
plane0: Texture.View,
plane1: Texture.View,
plane0: TextureView,
plane1: TextureView,
color_space: PredefinedColorSpace,
};