From e2326f0493bcc70fcee9d922b08afd07a810a54c Mon Sep 17 00:00:00 2001 From: slangbot <186143334+slangbot@users.noreply.github.com> Date: Sat, 27 Jun 2026 01:07:28 +0000 Subject: [PATCH] regenerate command line reference --- docs/command-line-slangc-reference.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/command-line-slangc-reference.md b/docs/command-line-slangc-reference.md index 62d9d85707c..7fbadc6170b 100644 --- a/docs/command-line-slangc-reference.md +++ b/docs/command-line-slangc-reference.md @@ -580,6 +580,11 @@ Negates (additively inverts) SV_Position.y before writing to stage output. Reciprocates (multiplicatively inverts) SV_Position.w after reading from stage input. For use in fragment shaders only. + +### -fgl-remap-z +Remaps SV_Position.z from OpenGL clip space \[-w, w\] to standard \[0, w\] via z' = (z + w) / 2 before writing to stage output. GLSL target, vertex stage only. + + ### -fvk-use-entrypoint-name Uses the entrypoint name from the source instead of 'main' in the spirv output.