gpu: add ComputePassTimestampLocation enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-09 10:43:15 -07:00 committed by Stephen Gutekanst
parent d287330e0c
commit fe3826559f
2 changed files with 7 additions and 1 deletions

View file

@ -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;
}