galakt / slimdx

Automatically exported from code.google.com/p/slimdx
0 stars 0 forks source link

Effect Error #409

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When i program the second tutorial, if i start it from the tutorial.sln, it
works fine, but if i try to create a new application, it fails with this
error..

-       pass.Description    'pass.Description' threw an exception of type
'SlimDX.Direct3D10.Direct3D10Exception'
SlimDX.Direct3D10.EffectPassDescription {SlimDX.Direct3D10.Direct3D10Exception}

is when i use the EffectTecnique, it's not valid the debug say me...
how is possible?
i load the correct filename...

Original issue reported on code.google.com by davide.g...@gmail.com on 20 Jan 2009 at 10:56

GoogleCodeExporter commented 8 years ago
I'm going to guess that when you create your effect file from Visual Studio 
(ie. a
new text file), it gets created as Unicode, which causes the effect compiler to 
fail.
Create the file outside the editor and then add it to the project manually.

Let us know how it goes.

Original comment by Mike.Popoloski on 20 Jan 2009 at 11:33

GoogleCodeExporter commented 8 years ago
yes, it was the unicode format of vs2008...
when you will use also unicode? ^^

Original comment by davide.g...@gmail.com on 22 Jan 2009 at 12:38

GoogleCodeExporter commented 8 years ago
It's not us, it's the DirectX shader compiler. Until Microsoft updates it for
Unicode, nothing we do will be able to help. Sorry.

Original comment by Mike.Popoloski on 22 Jan 2009 at 1:52

GoogleCodeExporter commented 8 years ago
ok, understood ^^
good work with the SlimDX, continue how now ^^

Original comment by davide.g...@gmail.com on 22 Jan 2009 at 7:33