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.

Continue reading “Reduce SPIR-V size with spirv-opt enhancements”