https://hgpu.org/?p=1627
Efficient partitioning of fragment shaders for multipass rendering on programmable graphics hardware