gpu: move TextureAspect -> Texture.Aspect

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 15:57:25 -07:00 committed by Stephen Gutekanst
parent 4750abfbde
commit b02dbb2f03
3 changed files with 10 additions and 11 deletions

View file

@ -140,6 +140,14 @@ pub const Format = enum(u32) {
r8bg8biplanar420_unorm = 0x00000060,
};
pub const Aspect = enum(u32) {
all = 0x00000000,
stencil_only = 0x00000001,
depth_only = 0x00000002,
plane0_only = 0x00000003,
plane1_only = 0x00000004,
};
test "syntax" {
_ = VTable;
_ = reference;
@ -147,4 +155,5 @@ test "syntax" {
_ = destroy;
_ = Usage;
_ = Format;
_ = Aspect;
}