gpu: add RenderPassTimestampLocation enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
9f6a3f119a
commit
fbed4402de
2 changed files with 5 additions and 6 deletions
|
|
@ -191,6 +191,11 @@ pub const QueryType = enum(u32) {
|
|||
timestamp = 0x00000002,
|
||||
};
|
||||
|
||||
pub const RenderPassTimestampLocation = enum(u32) {
|
||||
beginning = 0x00000000,
|
||||
end = 0x00000001,
|
||||
};
|
||||
|
||||
test "BackendType name" {
|
||||
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue