gpu: move TextureComponentType -> Texture.ComponentType

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 15:59:27 -07:00 committed by Stephen Gutekanst
parent b02dbb2f03
commit 23aad28093
3 changed files with 8 additions and 9 deletions

View file

@ -148,6 +148,13 @@ pub const Aspect = enum(u32) {
plane1_only = 0x00000004,
};
pub const ComponentType = enum(u32) {
float = 0x00000000,
sint = 0x00000001,
uint = 0x00000002,
depth_comparison = 0x00000003,
};
test "syntax" {
_ = VTable;
_ = reference;
@ -156,4 +163,5 @@ test "syntax" {
_ = Usage;
_ = Format;
_ = Aspect;
_ = ComponentType;
}