VKD3D-COMPILER(1)
๐ VKD3D-COMPILER ๐
okay bestie, welcome to the vkd3d-compiler manual page โ it's the shader compiler for vkd3d, and yes it comes from the User Commands corner of your friendly neighbourhood man setup. grab a boba, we're doing this ๐ธ
โจ NAME โจ
vkd3d-compiler โ shader compiler for vkd3d ๐ฆ
โจ SYNOPSIS โจ
vkd3d-compiler [options...] [file]
โจ OPTIONS โจ
-h,--helpโ shows you all this info and then dips. exit stage left, periodt ๐--alias-double-as-floatโ when you're compiling HLSL sources with shader model 1-3 target profiles, this treats'double'as'float'. yes, literally. it's giving "we don't do doubles here" ๐ญ-b<type> โ pick the target type, bestie. run--print-target-typesto see the valid ones and the default ones for a given source type ๐--buffer-uav=<type>โ tells it which buffer type to use for buffer UAV bindings. valid values are'buffer-texture'(that's the default) and'storage-buffer'. choose wisely ๐--child-effectโ compiles the effect as a child effect. heads up: this one is only meaningful forfx_2_0andfx_4_0/fx_4_1profiles. no cap-e,--entry=<name>โ use <name> as the entry point. the default is"main"โ main character energy, obviously ๐-Eโ preprocess the source code instead of compiling it. just vibes, no assembly ๐--formatting=<flags>โ sets the formatting options for text output. <flags> is a comma separated list of formatting flags, and you can optionally prefix it with'+'or'-'. valid flags are'colour','indent','offsets','header','raw-ids', and'signatures'. the'indent'and'header'flags are enabled by default โจ--fragment-coordinate-origin=<origin>โ sets the origin of fragment coordinates for SPIR-V targets. valid values are'upper-left'(the default) and'lower-left'. and listen โ the only value supported by Vulkan environments is'upper-left'. so... yeah ๐--fx-include-empty-buffersโ writes empty constant buffers descriptions. this one is only meaningful forfx_4_0andfx_4_1profiles. empty but make it fashion ๐--matrix-storage-order=<order>โ sets the default matrix storage order. valid values are'column'(default) and'row'๐ฅ-o,--output=<file>โ writes the output to <file>. if <file> is'-', or if you didn't specify an output file at all, the output goes to standard output ๐ซถ--print-source-typesโ displays the supported source types and exits. show and tell ๐--print-target-typesโ displays the supported target types for the specified source type and exits โจ-p,--profile=<name>โ sets the target shader profile for HLSL shaders. this is THE fit check ๐--semantic-compat-mapโ maps shader model 1-3 semantic names to shader model 4+ system values when compiling HLSL sources. glow-up for your semantics, fr fr ๐ฆ--strip-debugโ strips the debug information from the output. nothing personal, just minimising ๐-V,--versionโ displays version information and exits ๐-x<type> โ sets the type of the source. run--print-source-typesto list the valid source types. the default source type is automatically detected from the input shader โ it just knows ๐ฎ--โ stop option processing. any argument after this is interpreted as a filename. that's the hard boundary, bestie ๐ง
also super important: if the input file is '-' or isn't specified at all, the input will be read from standard input. stdin stays winning ๐
๐ a lil sign-off ๐
this is vkd3d-compiler, version 2.0+ds-3, dated August 2026 โ and it's still VKD3D-COMPILER(1) at the end of the day. slay, compile, and hydrate ๐ง๐๐
๐ฆ where this page comes from
- ubuntu stonking: vkd3d-compiler 2.0+ds-3 ยท LGPL-2.1-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms