pub struct Options {
pub adjust_coordinate_space: bool,
pub strict_capabilities: bool,
pub block_ctx_dump_prefix: Option<PathBuf>,
pub combined_image_sampler_desugaring: CombinedImageSamplerDesugaring,
}
Fields§
§adjust_coordinate_space: bool
The IR coordinate space matches all the APIs except SPIR-V,
so by default we flip the Y coordinate of the BuiltIn::Position
.
This flag can be used to avoid this.
strict_capabilities: bool
Only allow shaders with the known set of capabilities.
block_ctx_dump_prefix: Option<PathBuf>
§combined_image_sampler_desugaring: CombinedImageSamplerDesugaring
How to desugar combined image samplers
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more