GPUOpen-LibrariesAndSDKs / RenderPipelineShaders

Render Pipeline Shaders SDK
MIT License
312 stars 24 forks source link

How to use multithreading with dynamically declared nodes #11

Closed Valhally closed 1 year ago

Valhally commented 1 year ago

For nodes dynamically declared with "rpsRenderGraphDeclareDynamicNode", I didn't find anything like RPS_CMD_CALLBACK_MULTI_THREADED_BIT.

Thank you.

RaccoonOnRails commented 1 year ago

Hi, thanks for your feedback!
The callback flag is indeed missing in the dynamic node + rpsRenderGraphAddNode C-API path. Will be added in the next update!

FlorianHerickAMD commented 1 year ago

A tutorial about multithreaded usage has been added in the update we just released. Are there any more problems with this?

Valhally commented 1 year ago

No more. Thanks