gpu: implement PresentMode enums

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-08 23:14:14 -07:00 committed by Stephen Gutekanst
parent 53435cd134
commit c852ea9532

6
gpu/src/present_mode.zig Normal file
View file

@ -0,0 +1,6 @@
pub const PresentMode = enum(u32) {
// TODO: zig enums are not CamelCase
Immediate = 0x00000000,
Mailbox = 0x00000001,
Fifo = 0x00000002,
};