gpu: add CompilationInfoRequestStatus enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4989c992c1
commit
eed9a592ab
2 changed files with 9 additions and 0 deletions
|
|
@ -195,6 +195,13 @@ pub const CompareFunction = enum(u32) {
|
||||||
always = 0x00000008,
|
always = 0x00000008,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub const CompilationInfoRequestStatus = enum(u32) {
|
||||||
|
success = 0x00000000,
|
||||||
|
err = 0x00000001,
|
||||||
|
device_lost = 0x00000002,
|
||||||
|
unknown = 0x00000003,
|
||||||
|
};
|
||||||
|
|
||||||
test "name" {
|
test "name" {
|
||||||
try std.testing.expect(std.mem.eql(u8, @tagName(Feature.timestamp_query), "timestamp_query"));
|
try std.testing.expect(std.mem.eql(u8, @tagName(Feature.timestamp_query), "timestamp_query"));
|
||||||
}
|
}
|
||||||
|
|
@ -209,4 +216,5 @@ test "syntax" {
|
||||||
_ = BufferBindingType;
|
_ = BufferBindingType;
|
||||||
_ = BufferMapAsyncStatus;
|
_ = BufferMapAsyncStatus;
|
||||||
_ = CompareFunction;
|
_ = CompareFunction;
|
||||||
|
_ = CompilationInfoRequestStatus;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,7 @@ pub const BlendOperation = @import("enums.zig").BlendOperation;
|
||||||
pub const BufferBindingType = @import("enums.zig").BufferBindingType;
|
pub const BufferBindingType = @import("enums.zig").BufferBindingType;
|
||||||
pub const BufferMapAsyncStatus = @import("enums.zig").BufferMapAsyncStatus;
|
pub const BufferMapAsyncStatus = @import("enums.zig").BufferMapAsyncStatus;
|
||||||
pub const CompareFunction = @import("enums.zig").CompareFunction;
|
pub const CompareFunction = @import("enums.zig").CompareFunction;
|
||||||
|
pub const CompilationInfoRequestStatus = @import("enums.zig").CompilationInfoRequestStatus;
|
||||||
|
|
||||||
test "syntax" {
|
test "syntax" {
|
||||||
_ = Interface;
|
_ = Interface;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue