pub struct WgpuIR {
pub pipeline: WgpuPipeline,
}Expand description
Progressive staging: Program -> WgpuIR -> WGSL -> pipeline.
WgpuIR is the intermediate artifact returned by
WgpuBackend::compile. Each downstream stage (WGSL emission,
pipeline creation) is independently cacheable and testable.
Fields§
§pipeline: WgpuPipelineCached pipeline that already embeds the naga::Module, WGSL shader source, bind-group layout, and workgroup size.
Auto Trait Implementations§
impl !RefUnwindSafe for WgpuIR
impl !UnwindSafe for WgpuIR
impl Freeze for WgpuIR
impl Send for WgpuIR
impl Sync for WgpuIR
impl Unpin for WgpuIR
impl UnsafeUnpin for WgpuIR
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