soreau / pixdecor

Pixdecor plugin
MIT License
17 stars 3 forks source link

Additional optimizations for the GPU usage of smoke #7

Closed ammen99 closed 9 months ago

ammen99 commented 9 months ago

These changes significantly reduce the GPU usage of smoke on my computer. The idea is rather simple: instead of scheduling compute for the whole window and then filtering out the border region only, directly schedule computes for each rectangle of the border.

The second commit improves the situation a little bit more by scheduling all rectangles in parallel.

soreau commented 9 months ago

Thanks!