mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 06:45:13 +00:00
Use just the small version (#705)
This commit is contained in:
parent
a93d6e0f2a
commit
9fcc4824af
@ -85,7 +85,7 @@ use quote::ToTokens;
|
||||
///
|
||||
/// The grammar for the macro is as follows:
|
||||
///
|
||||
/// ```rust,no_compile
|
||||
/// ```rust,ignore
|
||||
/// Image!(
|
||||
/// <dimensionality>,
|
||||
/// <type=...|format=...>,
|
||||
@ -99,7 +99,7 @@ use quote::ToTokens;
|
||||
/// `=true` can be omitted as shorthand - e.g. `sampled` is short for `sampled=true`.
|
||||
///
|
||||
/// A basic example looks like this:
|
||||
/// ```rust,no_compile
|
||||
/// ```rust,ignore
|
||||
/// #[spirv(vertex)]
|
||||
/// fn main(#[spirv(descriptor_set = 0, binding = 0)] image: &Image!(2D, type=f32, sampled)) {}
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user