Attribute Macro spirv_std::spirv

source ·
#[spirv]
Expand description

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