gpu: add FilterMode enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c38edecf2f
commit
3c3a940833
2 changed files with 5 additions and 6 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue