Attribute Macro spirv_std_macros::gpu_only [−][src]
#[gpu_only]
Marks a function as runnable only on the GPU, and will panic on CPU platforms.
#[gpu_only]
Marks a function as runnable only on the GPU, and will panic on CPU platforms.