gfx_hal

Macro spec_const_list

Source
macro_rules! spec_const_list {
    (@ $(,)?) => { ... };
    (@ $head_id:expr => $head_constant:expr $(,$tail_id:expr => $tail_constant:expr)* $(,)?) => { ... };
    ($($id:expr => $constant:expr),* $(,)?) => { ... };
    ($($constant:expr),* $(,)?) => { ... };
}
Expand description

Macro for specifying list of specialization constants for EntryPoint.