mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 16:24:24 +00:00
In IntelliJ Rust plugin, Declarative macro expansion of bitflags! fails when a backslash is present in rustdoc. (#3386)
This commit is contained in:
parent
0d433214c7
commit
5ded4ba701
@ -361,15 +361,15 @@ bitflags::bitflags! {
|
|||||||
/// Allows the user to create uniform arrays of textures in shaders:
|
/// Allows the user to create uniform arrays of textures in shaders:
|
||||||
///
|
///
|
||||||
/// ex.
|
/// ex.
|
||||||
/// `var textures: binding_array<texture_2d<f32>, 10>` (WGSL)\
|
/// - `var textures: binding_array<texture_2d<f32>, 10>` (WGSL)
|
||||||
/// `uniform texture2D textures[10]` (GLSL)
|
/// - `uniform texture2D textures[10]` (GLSL)
|
||||||
///
|
///
|
||||||
/// If [`Features::STORAGE_RESOURCE_BINDING_ARRAY`] is supported as well as this, the user
|
/// If [`Features::STORAGE_RESOURCE_BINDING_ARRAY`] is supported as well as this, the user
|
||||||
/// may also create uniform arrays of storage textures.
|
/// may also create uniform arrays of storage textures.
|
||||||
///
|
///
|
||||||
/// ex.
|
/// ex.
|
||||||
/// `var textures: array<texture_storage_2d<f32, write>, 10>` (WGSL)\
|
/// - `var textures: array<texture_storage_2d<f32, write>, 10>` (WGSL)
|
||||||
/// `uniform image2D textures[10]` (GLSL)
|
/// - `uniform image2D textures[10]` (GLSL)
|
||||||
///
|
///
|
||||||
/// This capability allows them to exist and to be indexed by dynamically uniform
|
/// This capability allows them to exist and to be indexed by dynamically uniform
|
||||||
/// values.
|
/// values.
|
||||||
@ -384,8 +384,8 @@ bitflags::bitflags! {
|
|||||||
/// Allows the user to create arrays of buffers in shaders:
|
/// Allows the user to create arrays of buffers in shaders:
|
||||||
///
|
///
|
||||||
/// ex.
|
/// ex.
|
||||||
/// `var<uniform> buffer_array: array<MyBuffer, 10>` (WGSL)\
|
/// - `var<uniform> buffer_array: array<MyBuffer, 10>` (WGSL)
|
||||||
/// `uniform myBuffer { ... } buffer_array[10]` (GLSL)
|
/// - `uniform myBuffer { ... } buffer_array[10]` (GLSL)
|
||||||
///
|
///
|
||||||
/// This capability allows them to exist and to be indexed by dynamically uniform
|
/// This capability allows them to exist and to be indexed by dynamically uniform
|
||||||
/// values.
|
/// values.
|
||||||
@ -394,8 +394,8 @@ bitflags::bitflags! {
|
|||||||
/// may also create arrays of storage buffers.
|
/// may also create arrays of storage buffers.
|
||||||
///
|
///
|
||||||
/// ex.
|
/// ex.
|
||||||
/// `var<storage> buffer_array: array<MyBuffer, 10>` (WGSL)\
|
/// - `var<storage> buffer_array: array<MyBuffer, 10>` (WGSL)
|
||||||
/// `buffer myBuffer { ... } buffer_array[10]` (GLSL)
|
/// - `buffer myBuffer { ... } buffer_array[10]` (GLSL)
|
||||||
///
|
///
|
||||||
/// Supported platforms:
|
/// Supported platforms:
|
||||||
/// - DX12
|
/// - DX12
|
||||||
|
Loading…
Reference in New Issue
Block a user