gpu: make QuerySet an enum with methods

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

5
gpu/src/query_set.zig Normal file
View file

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