gpu: add RequestAdapterOptions defaults
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a8022775a9
commit
b5601d69e6
1 changed files with 2 additions and 2 deletions
|
|
@ -96,8 +96,8 @@ pub const RenderPassTimestampWrite = extern struct {
|
|||
pub const RequestAdapterOptions = extern struct {
|
||||
next_in_chain: *const types.ChainedStruct,
|
||||
compatible_surface: ?surface.Surface,
|
||||
power_preference: types.PowerPreference,
|
||||
force_fallback_adapter: bool,
|
||||
power_preference: types.PowerPreference = .undef,
|
||||
force_fallback_adapter: bool = false,
|
||||
};
|
||||
|
||||
pub const ComputePassDescriptor = extern struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue