gpu: add CreatePipelineAsyncStatus enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
fe3826559f
commit
8e01379ef2
2 changed files with 10 additions and 0 deletions
|
|
@ -213,6 +213,14 @@ pub const ComputePassTimestampLocation = enum(u32) {
|
|||
end = 0x00000001,
|
||||
};
|
||||
|
||||
pub const CreatePipelineAsyncStatus = enum(u32) {
|
||||
success = 0x00000000,
|
||||
err = 0x00000001,
|
||||
device_lost = 0x00000002,
|
||||
device_destroyed = 0x00000003,
|
||||
unknown = 0x00000004,
|
||||
};
|
||||
|
||||
test "name" {
|
||||
try std.testing.expect(std.mem.eql(u8, @tagName(Feature.timestamp_query), "timestamp_query"));
|
||||
}
|
||||
|
|
@ -230,4 +238,5 @@ test "syntax" {
|
|||
_ = CompilationInfoRequestStatus;
|
||||
_ = CompilationMessageType;
|
||||
_ = ComputePassTimestampLocation;
|
||||
_ = CreatePipelineAsyncStatus;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ pub const CompareFunction = @import("enums.zig").CompareFunction;
|
|||
pub const CompilationInfoRequestStatus = @import("enums.zig").CompilationInfoRequestStatus;
|
||||
pub const CompilationMessageType = @import("enums.zig").CompilationMessageType;
|
||||
pub const ComputePassTimestampLocation = @import("enums.zig").ComputePassTimestampLocation;
|
||||
pub const CreatePipelineAsyncStatus = @import("enums.zig").CreatePipelineAsyncStatus;
|
||||
|
||||
test "syntax" {
|
||||
_ = Interface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue