gpu: add Texture.ComponentType enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-11 08:13:23 -07:00 committed by Stephen Gutekanst
parent 37b75fe65b
commit 8ced6a43ad
2 changed files with 7 additions and 8 deletions

View file

@ -7,3 +7,10 @@ pub const Aspect = enum(u32) {
plane0_only = 0x00000003,
plane1_only = 0x00000004,
};
pub const ComponentType = enum(u32) {
float = 0x00000000,
sint = 0x00000001,
uint = 0x00000002,
depth_comparison = 0x00000003,
};