`spirv-remap` is not present in modern Vulkan SDK versions, it was replaced with the `--canonicalize-ids` pass in `spirv-opt`. Overall, canonicalization provides a significant compression improvement, which is important considering that currently Xenia is distributed in a ZIP archive and contains many very similar shaders. With normal DEFLATE compression, canonicalization reduced the size of a ZIP with `xenia.exe` from 3.54 MB to 3.45 MB in a test done before committing. Also disable stripping of debug information from shaders, which apparently was among what `spirv-remap` was doing with `--do-everything`, as binding and uniform buffer member names heavily aid in debugging in RenderDoc. Partially integrated from #2329. Co-authored-by: Herman S. <429230+has207@users.noreply.github.com> Co-authored-by: Gliniak <Gliniak93@gmail.com>
65 KiB
Executable File
65 KiB
Executable File