gpu: add TODOs about documentation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
818a2a172c
commit
070126b85d
4 changed files with 8 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue