Jump to content

View more

Image of the Day

Adding some finishing touches...
Follow us for more
#screenshotsaturday #indiedev... by #MakeGoodGames https://t.co/Otbwywbm3a
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

question about D3DReadFileToBlob

4: Adsense

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   

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

#2 Hornsj3   Members   

195
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   

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.