gpu: add ComputePassTimestampLocation enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d287330e0c
commit
fe3826559f
2 changed files with 7 additions and 1 deletions
|
|
@ -208,6 +208,11 @@ pub const CompilationMessageType = enum(u32) {
|
|||
info = 0x00000002,
|
||||
};
|
||||
|
||||
pub const ComputePassTimestampLocation = enum(u32) {
|
||||
beginning = 0x00000000,
|
||||
end = 0x00000001,
|
||||
};
|
||||
|
||||
test "name" {
|
||||
try std.testing.expect(std.mem.eql(u8, @tagName(Feature.timestamp_query), "timestamp_query"));
|
||||
}
|
||||
|
|
@ -224,4 +229,5 @@ test "syntax" {
|
|||
_ = CompareFunction;
|
||||
_ = CompilationInfoRequestStatus;
|
||||
_ = CompilationMessageType;
|
||||
_ = ComputePassTimestampLocation;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue