gpu: add dawn.InstanceDescriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-15 23:39:13 -07:00 committed by Stephen Gutekanst
parent 806acf08fe
commit 684fffb2fb
2 changed files with 7 additions and 6 deletions

View file

@ -11,3 +11,10 @@ pub const EncoderInternalUsageDescriptor = struct {
chain: ChainedStruct,
use_internal_usages: bool,
};
pub const InstanceDescriptor = extern struct {
// TODO: file an issue on Dawn: why not named nextInChain?
chain: ChainedStruct,
additional_runtime_search_paths_count: u32,
additional_runtime_search_paths: [*]const u8,
};