mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
Move push constant docs to correct feature
This commit is contained in:
parent
7e8b51b428
commit
abb3c2f8db
@ -256,8 +256,6 @@ bitflags::bitflags! {
|
||||
///
|
||||
/// This allows the use of a buffer containing the actual number of draw calls.
|
||||
///
|
||||
/// A block of push constants can be declared with `layout(push_constant) uniform Name {..}` in shaders.
|
||||
///
|
||||
/// Supported platforms:
|
||||
/// - DX12
|
||||
/// - Vulkan 1.2+ (or VK_KHR_draw_indirect_count)
|
||||
@ -270,6 +268,8 @@ bitflags::bitflags! {
|
||||
/// Allows the user to call [`RenderPass::set_push_constants`], provide a non-empty array
|
||||
/// to [`PipelineLayoutDescriptor`], and provide a non-zero limit to [`Limits::max_push_constant_size`].
|
||||
///
|
||||
/// A block of push constants can be declared with `layout(push_constant) uniform Name {..}` in shaders.
|
||||
///
|
||||
/// Supported platforms:
|
||||
/// - DX12
|
||||
/// - Vulkan
|
||||
|
Loading…
Reference in New Issue
Block a user