spirv_std_macros

Attribute Macro spirv

Source
#[spirv]
Expand description

Replaces all (nested) occurrences of the #[spirv(..)] attribute with #[cfg_attr(target_arch="spirv", rust_gpu::spirv(..))].