/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)
| Option | Description | Source |
|---|
--source | Extract source files obtained from debug symbols, output to stdout. | help |
--entrypoint | Extracts the entrypoint name of the module, output to stdout. | help |
--compiler-cmd | Extracts the command line used to compile this module, output to stdout. | help |
-h, --help | Print this help. | help |
--version | Display assembler version information. | help |
-f, --force | Allow output file overwrite. | help |
--list | Do not extract source code, only print filenames to stdout. | help |
--outdir | Where 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.