gpu: move TextureSampleType -> Texture.SampleType

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 16:00:57 -07:00 committed by Stephen Gutekanst
parent a34646e78d
commit 7271df966e
3 changed files with 10 additions and 11 deletions

View file

@ -161,6 +161,15 @@ pub const Dimension = enum(u32) {
dimension_3d = 0x00000002,
};
pub const SampleType = enum(u32) {
none = 0x00000000,
float = 0x00000001,
unfilterable_float = 0x00000002,
depth = 0x00000003,
sint = 0x00000004,
uint = 0x00000005,
};
test "syntax" {
_ = VTable;
_ = reference;
@ -171,4 +180,5 @@ test "syntax" {
_ = Aspect;
_ = ComponentType;
_ = Dimension;
_ = SampleType;
}