From 49764947096fd400543599e920681252ba731fde Mon Sep 17 00:00:00 2001 From: Marco Buono Date: Sun, 20 Nov 2022 06:45:45 -0300 Subject: [PATCH] Document `EarlyDepthTest` and `ConservativeDepth` syntax in WGSL (#2132) --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index c0f102670d..e122d1224c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -246,6 +246,7 @@ pub(crate) type NamedExpressions = FastHashMap, String>; /// - GLSL: `layout(early_fragment_tests) in;` /// - HLSL: `Attribute earlydepthstencil` /// - SPIR-V: `ExecutionMode EarlyFragmentTests` +/// - WGSL: `@early_depth_test` /// /// For more, see: /// - @@ -265,6 +266,7 @@ pub struct EarlyDepthTest { /// - `depth_any` option behaves as if the layout qualifier was not present. /// - HLSL: `SV_DepthGreaterEqual`/`SV_DepthLessEqual`/`SV_Depth` /// - SPIR-V: `ExecutionMode Depth` +/// - WGSL: `@early_depth_test(greater_equal/less_equal/unchanged)` /// /// For more, see: /// -