/usr/bin/spirv-link - Link SPIR-V binary files together. USAGE: /usr/bin/spirv-link [options] [-o ] ... The SPIR-V binaries are read from the different (s). The SPIR-V resulting linked binary module is written to the file "out.spv" unless the -o option is used; if is "-", it is written to the standard output. NOTE: The linker is a work in progress. Options (in lexicographical order): --allow-partial-linkage Allow partial linkage by accepting imported symbols to be unresolved. --allow-pointer-mismatch Allow pointer function parameters to mismatch the target link target. This is useful to workaround lost correct parameter type information due to LLVM's opaque pointers. --create-library Link the binaries into a library, keeping all exported symbols. -h, --help Print this help. --target-env Set the environment used for interpreting the inputs. Without this option the environment defaults to spv1.6. must be one of {vulkan1.0|vulkan1.1spv1.4|vulkan1.1|vulkan1.2|vulkan1.3 |vulkan1.4|spv1.0|spv1.1|spv1.2|spv1.3|spv1.4|spv1.5|spv1.6 |opencl1.2embedded|opencl1.2|opencl2.0embedded|opencl2.0 |opencl2.1embedded|opencl2.1|opencl2.2embedded|opencl2.2 |opengl4.0|opengl4.1|opengl4.2|opengl4.3|opengl4.5}. NOTE: The SPIR-V version used by the linked binary module depends only on the version of the inputs, and is not affected by this option. --use-highest-version Upgrade the output SPIR-V version to the highest of the input files, instead of requiring all of them to have the same version. NOTE: If one of the older input files uses an instruction that is deprecated in the highest SPIR-V version, the output will be invalid. --verify-ids Verify that IDs in the resulting modules are truly unique. --fnvar-targets CSV file specifying OpSpecConditionalTarget parameters for each linked module. --fnvar-architectures CSV file specifying OpSpecConditionalArchitecture parameters for each linked module. --fnvar-capabilities For each function variant, include its required capabilities under OpSpecConditionalCapabilitiesINTEL. --version Display linker version information.