OS Manuals

/usr/bin/spirv-objdump

Collection of tools, libraries, and tests for Vulkan shader compilation

From shaderc 2026.4-r0 (os), captured 2026-11-05 by running spirv-objdump --help (exit 0). permalink

/usr/bin/spirv-objdump - Dumps information from a SPIR-V binary.

Usage: /usr/bin/spirv-objdump [options] <filename>

one of the following switches must be given:
  --source        Extract source files obtained from debug symbols, output to stdout.
  --entrypoint    Extracts the entrypoint name of the module, output to stdout.
  --compiler-cmd  Extracts the command line used to compile this module, output to stdout.


General options:
  -h, --help      Print this help.
  --version       Display assembler version information.
  -f,--force      Allow output file overwrite.

Source dump options:
  --list          Do not extract source code, only print filenames to stdout.
  --outdir        Where shall the exrtacted HLSL/HLSL files be written to?
                  File written to stdout if '-' is given. Default is `-`.
Options (8)
OptionDescriptionSource
--sourceExtract source files obtained from debug symbols, output to stdout.help
--entrypointExtracts the entrypoint name of the module, output to stdout.help
--compiler-cmdExtracts the command line used to compile this module, output to stdout.help
-h, --helpPrint this help.help
--versionDisplay assembler version information.help
-f, --forceAllow output file overwrite.help
--listDo not extract source code, only print filenames to stdout.help
--outdirWhere shall the exrtacted HLSL/HLSL files be written to? File written to stdout if '-' is given.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.