renderling 0.4.9

User-friendly real-time rendering. 🍖
Documentation
#![allow(dead_code)]
//! Automatically generated with `cd shaders && cargo run --release`.
//!
//! Provides the shader linkage for
//! [convolution::brdf_lut_convolution_fragment](crate::convolution::brdf_lut_convolution_fragment).
//!
//! **source path**:
//! `crates/renderling/src/linkage/convolution-brdf_lut_convolution_fragment.
//! spv`
use super::ShaderLinkage;
use std::sync::Arc;
#[cfg(not(target_arch = "wasm32"))]
pub const ENTRY_POINT: &str = "convolution::brdf_lut_convolution_fragment";
#[cfg(target_arch = "wasm32")]
pub const ENTRY_POINT: &str = "convolutionbrdf_lut_convolution_fragment";
pub fn linkage(device: &wgpu::Device) -> ShaderLinkage {
    ShaderLinkage {
        module: Arc::new(device.create_shader_module(wgpu::include_spirv!(
            "convolution-brdf_lut_convolution_fragment.spv"
        ))),
        entry_point: ENTRY_POINT,
    }
}