gpu: add LoggingType enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-11 07:54:12 -07:00 committed by Stephen Gutekanst
parent 1aeefec62b
commit 18dd84d6a5
2 changed files with 7 additions and 8 deletions

View file

@ -150,6 +150,13 @@ pub const LoadOp = enum(u32) {
load = 0x00000002,
};
pub const LoggingType = enum(u32) {
verbose = 0x00000000,
info = 0x00000001,
warning = 0x00000002,
err = 0x00000003,
};
test "BackendType name" {
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
}