What SPIR­-V tools are included in the LunarG Vulkan SDK?

Shader Creation Tool

The glslangValidator creates SPIR-­V shaders from equivalent GLSL shaders.

SPIR­-V Disassembler and Assembler Tools

Disassembler spirv-­dis converts SPIR-­V shader into human­-readable and parsable form to help with debugging. Assembler spirv-­as takes edited, disassembled output and assembles it.

SPIR­-V Remapper Tool

The spirv­-remap tool enhances compression of SPIR­-V binary files via entropy reduction, including optional stripping of debug information and dead functions. As an example, the tool is useful when games have large numbers of shaders and need smaller file sizes.

Return to FAQs