gpu: make PipelineLayout an enum with methods

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-15 00:16:47 -07:00 committed by Stephen Gutekanst
parent 1fefc7e66b
commit 51c5a8cf25
3 changed files with 7 additions and 3 deletions

View file

@ -0,0 +1,5 @@
pub const PipelineLayout = enum(usize) {
_,
pub const none: PipelineLayout = @intToEnum(PipelineLayout, 0);
};