gpu: add TODOs about documentation

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-07 22:44:10 -07:00 committed by Stephen Gutekanst
parent 818a2a172c
commit 070126b85d
4 changed files with 8 additions and 1 deletions

View file

@ -95,6 +95,7 @@ pub const Type = enum(u32) {
unknown,
};
// TODO: docs
pub fn typeName(t: Type) []const u8 {
return switch (t) {
.discrete_gpu => "Discrete GPU",
@ -116,6 +117,7 @@ pub const BackendType = enum(u32) {
opengles,
};
// TODO: docs
pub fn backendTypeName(t: BackendType) []const u8 {
return switch (t) {
.nul => "Null",