SPIRV-REFLECT-PP(1)

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

πŸ’– SPIRV-REFLECT-PP πŸ’–

okay bestie, gather round, because we're talking about spirv-reflect-pp β€” yes that's the manual name, and yes it's a whole vibe. she's a User Command, she lives in section 1, and she is here to spill all the tea about your SPIR-V bytecode. 🫢


✨ SYNOPSIS ✨

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

that's it. that's the whole entrance. give her some options and a path to your SPIR-V bytecode and she will deliver. πŸ’…


🌸 DESCRIPTION 🌸

so basically? she prints a summary of the reflection data she extracted from your SPIR-V bytecode. like a little report card for your shader. no cap. πŸ“‹βœ¨

here's the options, one by one, because we don't skip:

πŸŽ€ Options πŸŽ€

  • --help β€” displays this message. she's helpful like that. πŸ₯°
  • -o, --output β€” prints output to a file instead. [default: stdout] β€” so if you don't say anything, she's yapping straight to your terminal, as she should. πŸ’¬
  • -y, --yaml β€” formats the output as YAML. [default: disabled] β€” off by default, but turn it on and it's giving structured data realness. 🌈
  • -v VERBOSITY β€” specifies output verbosity. YAML output only, bestie, don't forget that. the levels are:
    1. 0 β€” shader info, block variables, interface variables, and descriptor bindings. no type descriptions. this is the default, the everyday slay. ✨
    2. 1 β€” everything from above, plus type descriptions. now we're getting into it. πŸ”₯
    3. 2 β€” everything above, plus SPIR-V bytecode and all internal type descriptions. and like… if you're not working on SPIRV-Reflect itself, you probably don't want this. 😭 that's a direct quote from the manual, she said it, not me. it's giving "you're not ready for this level of lore".
  • -e, --entrypoint β€” prints entry points found in the shader module. where does it all begin? here. πŸšͺ
  • -s, --stage β€” prints Vulkan shader stages found in the shader module. vertex? fragment? compute? she knows. πŸ‘‘
  • -f, --file β€” prints the source file found in the shader module. the origin story. πŸ“„
  • -fcb, --flatten_cbuffers β€” flattens constant buffers on non-YAML output. flat. compressed. tidy. 🧚

πŸ” SEE ALSO πŸ”

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

info spirv-reflect-pp

should give you access to the complete manual. the complete manual. the extended cut. the director's commentary. πŸŽ¬πŸ’–


lowkey iconic of you to read the whole thing. not everyone has that main character energy. 🫢

anyway, this was spirv-reflect-pp version 1.4.335.0, dated January 2026 β€” that's the whole footer, folded in cute, exactly where it belongs. mwah. πŸ’‹ periodt. πŸ¦‹

πŸ“¦ where this page comes from