gpu: move TextureAspect -> Texture.Aspect
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4750abfbde
commit
b02dbb2f03
3 changed files with 10 additions and 11 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue