Use just the small version (#705)

This commit is contained in:
Daniel McNab 2021-08-09 07:58:52 +01:00 committed by GitHub
parent a93d6e0f2a
commit 9fcc4824af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)) {}
/// ```