gpu: add FilterMode enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-11 07:51:04 -07:00 committed by Stephen Gutekanst
parent c38edecf2f
commit 3c3a940833
2 changed files with 5 additions and 6 deletions

View file

@ -128,6 +128,11 @@ pub const FeatureName = enum(u32) {
chromium_experimental_dp4a = 0x000003ed,
};
pub const FilterMode = enum(u32) {
nearest = 0x00000000,
linear = 0x00000001,
};
test "BackendType name" {
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
}