D3D11: using DirectCompute in multiple threads
gamedev.net
I haven't been able to find a good answer regarding using DirectCompute on multiple threads in a program. I'm trying to add DirectCompute functionality to my program (a scientific app, not a game) to help with some of my algorithms. However, some of these algorithms can be run on both the UI thread, which uses D3D11 for rendering, and on a background thread. The Dispatch() call for a compute shader needs to be called on the D3D11DeviceContext, which should only be used on a single thread at a
0 Comentários ·0 Compartilhamentos ·30 Visualizações