From 384767af40e2e312babaa871f22f71dfb182cecc Mon Sep 17 00:00:00 2001 From: JMS55 <47158642+JMS55@users.noreply.github.com> Date: Fri, 25 Aug 2023 17:33:08 -0700 Subject: [PATCH] Misc docs --- wgpu-types/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 1fd93f4e31..f389a17267 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -5861,6 +5861,12 @@ pub enum BindingType { /// A ray-tracing acceleration structure binding. /// + /// Example WGSL syntax: + /// ```rust,ignore + /// @group(0) @binding(0) + /// var as: acceleration_structure; + /// ``` + /// /// Example GLSL syntax: /// ```cpp,ignore /// layout(binding = 0)