gpu: add dawn.EncoderInternalUsageDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
5094ad2e72
commit
806acf08fe
2 changed files with 6 additions and 5 deletions
|
|
@ -1,8 +1,3 @@
|
||||||
typedef struct WGPUDawnEncoderInternalUsageDescriptor {
|
|
||||||
WGPUChainedStruct chain;
|
|
||||||
use_internal_usages: bool,
|
|
||||||
} WGPUDawnEncoderInternalUsageDescriptor;
|
|
||||||
|
|
||||||
typedef struct WGPUDawnInstanceDescriptor {
|
typedef struct WGPUDawnInstanceDescriptor {
|
||||||
WGPUChainedStruct chain;
|
WGPUChainedStruct chain;
|
||||||
uint32_t additionalRuntimeSearchPathsCount;
|
uint32_t additionalRuntimeSearchPathsCount;
|
||||||
|
|
|
||||||
|
|
@ -5,3 +5,9 @@ pub const CacheDeviceDescriptor = struct {
|
||||||
chain: ChainedStruct,
|
chain: ChainedStruct,
|
||||||
isolation_key: [*:0]const u8,
|
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,
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue