LunarG has updated its white paper that describes using spirv-opt to reduce SPIR-V size. This revision includes many changes made since the last update in December 2017.

New discussion includes 1) using spirv-opt to “legalize” SPIR-V when generated from HLSL, 2) SPIR-V integration with the glslang and dxc frontends, 3) description of new size reduction passes available in spirv-opt, and 4) updates to the recommended recipe for those who wish to customize their optimization.

More information

See the updated white paper, SPIR-V Shader Legalization and Size Reduction Using spirv-opt_v1.2, for the details.

For more information about LunarG, visit our website.