eliemichel / LearnWebGPU-Code

The accompanying code of the Learn WebGPU C++ programming guide
https://eliemichel.github.io/LearnWebGPU
MIT License
114 stars 30 forks source link

Fix resource leaks #33

Closed rajveermalviya closed 9 months ago

rajveermalviya commented 10 months ago

Fix some resource leaks caused by forgotten .release calls.

eliemichel commented 9 months ago

I'm not 100% sure how to handle this, because it is a PR for step105 but the points it fixes are actually present in many other branches. I ususally semi automate this kind of change so that the diff from one step to the next remains simple enough (and so that next batch updates still work ~70% of the time)

rajveermalviya commented 9 months ago

would rebasing this to step075 (first occurrence of 2K texture sizes) be enough?