Attribute Macro spirv_std_macros::spirv
source · #[spirv]
Expand description
Replaces all (nested) occurrences of the #[spirv(..)]
attribute with
#[cfg_attr(target_arch="spirv", rust_gpu::spirv(..))]
.
#[spirv]
Replaces all (nested) occurrences of the #[spirv(..)]
attribute with
#[cfg_attr(target_arch="spirv", rust_gpu::spirv(..))]
.