gpu: add RequestAdapterOptions

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:03:47 -07:00 committed by Stephen Gutekanst
parent a91186c2c9
commit b90658aba8
3 changed files with 13 additions and 12 deletions

View file

@ -1,10 +1,3 @@
pub const RequestAdapterOptions = extern struct {
next_in_chain: *const ChainedStruct,
compatible_surface: Surface = Surface.none, // nullable
power_preference: PowerPreference,
force_fallback_adapter: bool,
};
pub const SamplerBindingLayout = extern struct {
next_in_chain: *const ChainedStruct,
type: SamplerBindingType,