Skip to content

Commit

Permalink
Document EarlyDepthTest and ConservativeDepth syntax in WGSL (gfx…
Browse files Browse the repository at this point in the history
  • Loading branch information
coreh authored Nov 20, 2022
1 parent 5b79cca commit 4976494
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ pub(crate) type NamedExpressions = FastHashMap<Handle<Expression>, String>;
/// - GLSL: `layout(early_fragment_tests) in;`
/// - HLSL: `Attribute earlydepthstencil`
/// - SPIR-V: `ExecutionMode EarlyFragmentTests`
/// - WGSL: `@early_depth_test`
///
/// For more, see:
/// - <https://www.khronos.org/opengl/wiki/Early_Fragment_Test#Explicit_specification>
Expand All @@ -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<Greater/Less/Unchanged>`
/// - WGSL: `@early_depth_test(greater_equal/less_equal/unchanged)`
///
/// For more, see:
/// - <https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_conservative_depth.txt>
Expand Down

0 comments on commit 4976494

Please sign in to comment.