879: Move push constant docs to correct feature r=kvark a=cwfitzgerald

**Connections**

Closes #878 

**Description**

Somehow put a push constant feature in the wrong place.

**Testing**

Docs only.


Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
This commit is contained in:
bors[bot] 2020-08-17 00:44:13 +00:00 committed by GitHub
commit 3146950cf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,8 +256,6 @@ bitflags::bitflags! {
/// ///
/// This allows the use of a buffer containing the actual number of draw calls. /// 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: /// Supported platforms:
/// - DX12 /// - DX12
/// - Vulkan 1.2+ (or VK_KHR_draw_indirect_count) /// - 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 /// 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`]. /// 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: /// Supported platforms:
/// - DX12 /// - DX12
/// - Vulkan /// - Vulkan