More of a note to self than anything else. After lots of head scratching with a shader .fx file I wrote, which compled fine with fxc, but would puke when loaded with the effect.FromStream() method in SlimDX, I eventually hit upon resaving it as ANSI (from unicode) and it worked.
Looks like this isn't unique to SlimDX, but an issue with the underlying CreateEffectFromXXX call to D3D9.
So:
UTF-8, Unicode - NO
ANSI - YES
Update: Visual Studio saves Unicode. A real fine how do you do from redmond.
Thursday, October 22, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment