Sign in to follow this  

D3D10, effects and VS2012

This topic is 1866 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am very confused at the moment, I have switched to visual studio 2012.

I am using speed tree, which relies on the effect library. I am using D3D10.

I can successfully compile the effects using D3DCompile() and the "fx_4_0" profile.

However, now D3D10CreateEffectFromMemory() doesn't like the compiled effect anymore, and return E_FAIL. I have no other information but this error code.

I had a look at the Effects11 library, but it requires a ID3D11Device.

Any idea ?

Share this post


Link to post
Share on other sites
I should add that I have also tried D3D10CompileEffectFromMemory(), however I get another error (NOT_IMPL), so I guess this one is not implemented...

Share this post


Link to post
Share on other sites
Maybe you would consider checking which SDK is in your project.[list]
[*]June 2010
[*]WIndows 8 SDK
[/list]
They would be a bit different, because Microsoft has decided that some API functions are legacy.

Share this post


Link to post
Share on other sites
Sign in to follow this