Humus said:I fear there's some serious painting themselfs into a corner going on with the HLSLs. Both Cg and DX9 HLSL is built on the idea of standardising the compiler rather than just making the language a standard and let the compiler be a part of the driver. Making a compiler targetting a standardized instruction set and we'll repeat the whole x86 problem but for GPU's.
I agree.
Now having the final DX9 SDK - HLSL is a pretty big disappointment.
It's has 1 (one) page dedicated in the documentation, and has 0 (zero) example programs.
It looks like its one of the doomed features of DX.
(Reminds me of RT-patches in DX8. DrawTriPatch accepts a user supplied amount of vertices - how many can there be, how they constuct the patch, etc. is not documented. After 1 year of being part of the API, nVidia could safely remove driver support as no developer bothered to figure out how does it work. )