still no type inference, which is fatal.
worse, my image-avg code works on NVIDIA but crashes the AMD driver.  this shit is tricky