Acoording to my limited knowledge,if I was using HLSL or Cg,the text file has to be first compiled to the assembly shaders,than the compiled shaders need to be compiled again to the form of binary machine code,is that right?
If I was right,who's in charge of the 2 compilation?
I think the first compilation is done using the HLSL compiler or the Cg compiler which come from MS and Nvidia,respectively.
And what about the 2nd compilation? Is the compiler in charge of this step residing in the driver or the DirectX runtime?
If I was right,who's in charge of the 2 compilation?
I think the first compilation is done using the HLSL compiler or the Cg compiler which come from MS and Nvidia,respectively.
And what about the 2nd compilation? Is the compiler in charge of this step residing in the driver or the DirectX runtime?