Love2D 12 compute shaders 101: Finding True Content Bounds

Last time we talked about Love 12’s new compute shader support and set up a basic project to demonstrate data transport between GPU and CPU. Today, let’s build on that and do something useful, but not terribly complex: true content bounds (TCB) detection. TCB are quite important in compositing: there might be really expensive shader effects applied to the contents of a Canvas (Texture), but the…