Skip to main content
gamedev.net
🔒 Locked

Multithreadding Shader/Buffer/Texture Creation

Started by RealMarkP Oct 23, 2008 at 7:44 AM 0 replies 500+ views
Original Post
RealMarkP
RealMarkP
I'm using DirectX 9c and I heard that multithreadding is not implemented as well as it is in DirectX 10+. Should I turn it on when I want to multithread the creation of my resources (Shaders, Textures, etc). Or should I just leave the creation on the main thread? Thanks.
------------Anything prior to 9am should be illegal.
Evil Steve
Evil Steve
Quote:
Original post by RealMarkP
I'm using DirectX 9c and I heard that multithreadding is not implemented as well as it is in DirectX 10+. Should I turn it on when I want to multithread the creation of my resources (Shaders, Textures, etc). Or should I just leave the creation on the main thread?

Thanks.
Definitely only create resources in one thread. Multithreading really doesn't work well with D3D9. You can still do decoding and other processing in worker threads, and then just create the resource in the main thread, lock it, and fill it with the data supplied by the worker thread.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.