pub(crate) const SHADER_SOURCE: &str = concat!(
include_str!("shaders/sdr_fit.wgsl"),
include_str!("shaders/sdr_target.wgsl"),
include_str!("shaders/solid.wgsl")
);
pub(crate) const TEXTURED_SHADER_SOURCE: &str = concat!(
include_str!("shaders/sdr_fit.wgsl"),
include_str!("shaders/sdr_target.wgsl"),
include_str!("shaders/textured.wgsl")
);
pub(crate) const WIDGET_SHADER_SOURCE: &str = concat!(
include_str!("shaders/sdr_fit.wgsl"),
include_str!("shaders/sdr_target.wgsl"),
include_str!("shaders/widget.wgsl")
);
pub(crate) const ROUNDED_RECT_SHADER_SOURCE: &str = concat!(
include_str!("shaders/sdr_fit.wgsl"),
include_str!("shaders/sdr_target.wgsl"),
include_str!("shaders/rounded_rect.wgsl")
);
pub(crate) const GRADIENT_RECT_SHADER_SOURCE: &str = concat!(
include_str!("shaders/sdr_fit.wgsl"),
include_str!("shaders/sdr_target.wgsl"),
include_str!("shaders/gradient_rect.wgsl")
);
pub(crate) const TEXT_ATLAS_SHADER_SOURCE: &str = concat!(
include_str!("shaders/sdr_fit.wgsl"),
include_str!("shaders/sdr_target.wgsl"),
include_str!("shaders/text_atlas.wgsl")
);
pub(crate) const TEXT_ATLAS_DUAL_SOURCE_SHADER_SOURCE: &str = concat!(
"enable dual_source_blending;
",
include_str!("shaders/sdr_fit.wgsl"),
include_str!("shaders/sdr_target.wgsl"),
include_str!("shaders/text_atlas_dual_source.wgsl")
);
pub(crate) const ANALYTIC_PATH_SHADER_SOURCE: &str = concat!(
include_str!("shaders/sdr_fit.wgsl"),
include_str!("shaders/sdr_target.wgsl"),
include_str!("shaders/analytic_path.wgsl")
);
pub(crate) const OUTPUT_TRANSFORM_SHADER_SOURCE: &str = concat!(
include_str!("shaders/sdr_fit.wgsl"),
include_str!("shaders/output_transform.wgsl")
);