I have one relatively complicated shader, which I want to compile. Shader has ~700 lines, which are compiled into ~3000 instructions.
Compilation time is with fxc (Windows 8 SDK) about 90 seconds. I have another shader of similar size and compilation time is 20 seconds.
So here are my questions:
- Is possible to speed up the compilation from application viewpoint (faster version of fxc or fxc alternative)?
- Is possible to speed up the compilation from code view point (is code constructs which massively slows down the compilation - which ones, how avoid them)?
- Is possible to speed up the compilation from fxc settings viewpoint (some secre options as --fast-compile or whatever)?
Edit:
Parallel thread on msdn forum: