Falcor Compilation to SPIR-V with no Inlining #4157
Labels
goal:quality & productivity
Quality issues and issues that impact our productivity coding day to day inside slang
kind:performance
things we wish were faster
priority:medium
nice to have in next milestone
Milestone
Problem Statement
Falcor provides a wide set of shaders that can be compiled via Slang, to generate SPIR-V. The direct-spirv lowering path, bypasses glslang, and stands as a first-class compilation pipeline for outputting SPIR-V code.
However, currently, there is a need for performing spirv-opt on this SPIR-V output code, in order to generate a more-compact output, for further lowering via GLV compilation pipeline. The main purpose of spirv-opt is to perform Inlining of the functions, and this currently adds compilation time overhead for each shader that goes through the pipeline.
Work to be done
a. Use Vulkan backend
b. Use Direct SPIR-V backend instead of Glslang
c. Disable SPIR-V optimization (Use -O0)
a. Report bugs to GLV team with appropriate container files for repro.
b. Pick up bugs and fix as needed.
The text was updated successfully, but these errors were encountered: