Docs.rs
spirv-std-macros-0.9.0
spirv-std-macros 0.9.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
LegNeato
Firestar99
Dependencies
proc-macro2 ^1.0.24
normal
quote ^1.0.8
normal
spirv-std-types =0.9.0
normal
syn ^1.0.85
normal
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
gpu_only
spirv_
std_
macros
0.9.0
spirv_std_macros
Attribute Macro
gpu_
only
Copy item path
Source
#[gpu_only]
Expand description
Marks a function as runnable only on the GPU, and will panic on CPU platforms.