gpu: add CompilationInfoRequestStatus enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-09 10:31:51 -07:00 committed by Stephen Gutekanst
parent 4989c992c1
commit eed9a592ab
2 changed files with 9 additions and 0 deletions

View file

@ -195,6 +195,13 @@ pub const CompareFunction = enum(u32) {
always = 0x00000008,
};
pub const CompilationInfoRequestStatus = enum(u32) {
success = 0x00000000,
err = 0x00000001,
device_lost = 0x00000002,
unknown = 0x00000003,
};
test "name" {
try std.testing.expect(std.mem.eql(u8, @tagName(Feature.timestamp_query), "timestamp_query"));
}
@ -209,4 +216,5 @@ test "syntax" {
_ = BufferBindingType;
_ = BufferMapAsyncStatus;
_ = CompareFunction;
_ = CompilationInfoRequestStatus;
}