Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/command-line-slangc-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


<a id="fgl-remap-z"></a>
### -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.


<a id="fvk-use-entrypoint-name"></a>
### -fvk-use-entrypoint-name
Uses the entrypoint name from the source instead of 'main' in the spirv output.
Expand Down
Loading