gpu: add dawn.EncoderInternalUsageDescriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-15 23:21:04 -07:00 committed by Stephen Gutekanst
parent 5094ad2e72
commit 806acf08fe
2 changed files with 6 additions and 5 deletions

View file

@ -1,8 +1,3 @@
typedef struct WGPUDawnEncoderInternalUsageDescriptor {
WGPUChainedStruct chain;
use_internal_usages: bool,
} WGPUDawnEncoderInternalUsageDescriptor;
typedef struct WGPUDawnInstanceDescriptor {
WGPUChainedStruct chain;
uint32_t additionalRuntimeSearchPathsCount;

View file

@ -5,3 +5,9 @@ pub const CacheDeviceDescriptor = struct {
chain: ChainedStruct,
isolation_key: [*:0]const u8,
};
pub const EncoderInternalUsageDescriptor = struct {
// TODO: file an issue on Dawn: why not named nextInChain?
chain: ChainedStruct,
use_internal_usages: bool,
};