Sign in to follow this  
timothy_yuanhong

question about D3DReadFileToBlob

Recommended Posts

Hi guys,

I have some trouble to use function D3DReadFileToBlob to load a compiled shader binary, it's not defined.
MSDN says the function declaration is in D3DCompiler.h, but I didn't find it there.

Thanks,
-Hong

Share this post


Link to post
Share on other sites
Hornsj3    195
You need to use the version of DirectX that ships with Win8.

Need this: D3dcompiler_44.dll


It's not included in the JUNE2010 SDK.

June 2010 has this: D3dcompiler_43.dll Edited by Hornsj3

Share this post


Link to post
Share on other sites
[quote name='Hornsj3' timestamp='1341100791' post='4954403']
You need to use the version of DirectX that ships with Win8.

Need this: D3dcompiler_44.dll


It's not included in the JUNE2010 SDK.

June 2010 has this: D3dcompiler_43.dll
[/quote]

Thanks! I tried to load the binary using fread into a buffer, and that seems to work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this