I have a set of shaders that i want to compile to run on different machines, and I want to precompile them. does the compiler optimize the code for the current graphics driver of the machine it is being compiled on?
say i have an nvidia 750m and precompile my shaders with D3DXSHADER_OPTIMIZATION_LEVEL3 set. and then i move those shaders to run on an intel integrated gpu. Are they as efficient on the intel gpu when precompiled on the nvidia vs compiled directly on the intel at runtime?
↧