Jump to content

  • Log In with Google      Sign In   
  • Create Account

question about D3DReadFileToBlob


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 timothy_yuanhong   Members   -  Reputation: 126

Like
0Likes
Like

Posted 30 June 2012 - 05:26 PM

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

Sponsor:

#2 Hornsj3   Members   -  Reputation: 191

Like
0Likes
Like

Posted 30 June 2012 - 05:59 PM

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, 30 June 2012 - 06:01 PM.


#3 timothy_yuanhong   Members   -  Reputation: 126

Like
0Likes
Like

Posted 01 July 2012 - 08:24 AM

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


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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS