1#![cfg_attr(docsrs, feature(doc_cfg))]
2#![doc = include_str!("../README.md")]
3
4mod display;
5mod error;
6mod mem;
7
8pub mod builtin;
9pub mod conv;
10pub mod idents;
11pub mod inst;
12pub mod syntax;
13pub mod tplt;
14pub mod ty;
15
16pub use error::Error;
17pub use inst::Instance;
18pub use ty::Type;
19
20use tplt::TpltParam;
21
22#[derive(Clone, Debug, PartialEq)]
24pub struct CallSignature {
25 pub name: String,
26 pub tplt: Option<Vec<TpltParam>>,
27 pub args: Vec<Type>,
28}
29
30#[derive(Clone, Copy, Debug, PartialEq, Eq)]
32pub enum ShaderStage {
33 Const,
35 Override,
37 Exec,
39}