From abb3c2f8dbe13d5e4b37d9dbec9cdf7ad1cd21aa Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Sun, 16 Aug 2020 19:52:53 -0400 Subject: [PATCH] Move push constant docs to correct feature --- wgpu-types/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 3454b80e6..9222abf9f 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -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