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.
SPIR-V Legalization and Size Reduction with spirv-opt
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.
Vulkan Debug Utilities
Tutorial available for new Vulkan Debug Utilities extension
LunarG improved the debugging functionality of the Vulkan API by creating a new extension: VK_EXT_debug_utils. We developed a comprehensive tutorial on the use of the new extension. Read on for more details.
Reduce SPIR-V size with spirv-opt enhancements
LunarG is pleased to announce the release of new options in spirv-opt designed to reduce SPIR-V size. We have introduced passes to spirv-opt that use classic code optimization techniques to address code inefficiencies in a SPIR-V module. Combined with spirv-remap , which we use to remove module-level dead types and functions, these passes can reduce raw SPIR-V size by over 60%, and bring SPIR-V sizes within 40% of DX Byte Code.


