SPIRV-REFLECT(1)

πŸ“¦ version 1.4.335.0, in ubuntu resolute, ubuntu stonking

✨ spirv-reflect ✨

okay so bestie, welcome to the spirv-reflect page from the User Commands section of the manual πŸ’– β€” this is genuinely one of my fave little tools and by the end of this you're gonna be obsessed, no cap.


🌸 NAME 🌸

spirv-reflect β€” SPIRV-Reflect πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

spirv-reflect [OPTIONS] path/to/SPIR-V/bytecode.spv

πŸ’… DESCRIPTION πŸ’…

It prints a summary of the reflection data extracted from SPIR-V bytecode. That's the whole vibe. ✨

Options:

  • --help β€” displays this message. Your lil "what do I do" button. 🫢
  • -o, --output β€” print output to file. [default: stdout] πŸ“
  • -y, --yaml β€” format output as YAML. [default: disabled] 🌈
  • -v VERBOSITY β€” specify output verbosity (YAML output only):
    • 0 β€” shader info, block variables, interface variables, descriptor bindings. No type descriptions. [default] πŸ‘‘
    • 1 β€” everything above, plus type descriptions. πŸ”₯
    • 2 β€” everything above, plus SPIR-V bytecode and all internal type descriptions. If you're not working on SPIRV-Reflect itself, you probably don't want this. πŸ’€
  • -e, --entrypoint β€” prints entry points found in shader module. πŸšͺ✨
  • -s, --stage β€” prints Vulkan shader stages found in shader module. 🎭
  • -f, --file β€” prints the source file found in shader module. πŸ“‚
  • -fcb, --flatten_cbuffers β€” flatten constant buffers on non-YAML output. πŸ₯ž

πŸ¦‹ SEE ALSO πŸ¦‹

The full documentation for spirv-reflect is maintained as a Texinfo manual. If the info and spirv-reflect programs are properly installed at your site, the command

info spirv-reflect

should give you access to the complete manual. go forth and read, bestie πŸ“–πŸ’–


k byeeee, this was spirv-reflect version 1.4.335.0, dropped January 2026 β€” mwah, slay, periodt πŸ’…πŸŒΈπŸŽ€

πŸ“¦ where this page comes from