gpu: correct feature storage location

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-18 20:03:38 -07:00 committed by Stephen Gutekanst
parent 653c528441
commit 9f1775aa7c
3 changed files with 16 additions and 10 deletions

View file

@ -27,6 +27,7 @@ const Adapter = @This();
/// The features which can be used to create devices on this adapter.
features: []Feature,
_features: [std.enums.values(Feature).len]Feature = undefined,
/// The best limits which can be used to create devices on this adapter.
///