i have 20 shaders in 1 fx file
this file can take about 15 seconds to load via D3DX10CreateEffectFromFile, is there a faster way to load a shader.fx file
convert it to another form or something ?
is there a way to load shaders faster?
Yes. Precompile it using fxc or D3DCompile() in your own utility and load that instead. That won't help you if most of your time is spent reading from disk, but I'd wager the compilation and optimization's what's killing you in this instance.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement