diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/command-line-slangc-reference.md | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/command-line-slangc-reference.md b/docs/command-line-slangc-reference.md index e61c4245b..8b91096e7 100644 --- a/docs/command-line-slangc-reference.md +++ b/docs/command-line-slangc-reference.md @@ -31,6 +31,7 @@ slangc -help-style markdown -h * [file-system-type](#file-system-type) * [target](#target) * [stage](#stage) +* [vulkan-shift](#vulkan-shift) * [capability](#capability) * [file-extension](#file-extension) @@ -305,6 +306,32 @@ Set the optimization level. Remove all source file information from outputs. +<a id="force-glsl-scalar-layout"></a> +## -force-glsl-scalar-layout +Force using scalar block layout for uniform and shader storage buffers in GLSL output. + + +<a id="fvk-bind-globals"></a> +## -fvk-bind-globals + +**-fvk-bind-globals <N> <descriptor-set>** + +Places the $Globals cbuffer at descriptor set <descriptor-set> and binding <N>. See HLSL global variables and Vulkan binding for explanation and examples. + + +<a id="enable-effect-annotations"></a> +## -enable-effect-annotations +Enables support for legacy effect annotation syntax. + + +<a id="fvk-b-shift"></a> +## -fvk-b-shift, -fvk-s-shift, -fvk-t-shift, -fvk-u-shift + +**-vk-<[vulkan-shift](#vulkan-shift)>-shift <N> <space>** + +Shifts by N the inferred binding numbers for all resources in b-type registers of space <space>. Specifically, for a resouce attached with :register(bX, <space>) but not \[vk::binding(...)\], sets its Vulkan descriptor set to <space> and binding number to X + N. If you need to shift the inferred binding numbers for more than one space, provide more than one such option. If more than one such option is provided for the same space, the last one takes effect. If you need to shift the inferred binding numbers for all sets, use 'all' as <space>. + + <a id="Downstream"></a> # Downstream @@ -737,6 +764,16 @@ Stage * `mesh` * `amplification` +<a id="vulkan-shift"></a> +# vulkan-shift + +Vulkan Shift + +* `b` : Vulkan Buffer resource +* `s` : Vulkan Sampler resource +* `t` : Vulkan Texture resource +* `u` : Vulkan Uniform resource + <a id="capability"></a> # capability |
