Is it enough to unbind the SRVs and UAVs after each iteration or do I need to dispose them and create new ones each time?[/quote]
Yes, you can unbind them and reuse them (I used to just swap them after each iteration if I need to chain multiple iterations in a feedback fashion). Just make sure you unbind them in the right order (or just to be sure, unbind them both first, them bind them back).
Using the same texture buffer as SRV and UAV simultaneously on the same compute shader
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement