Cleanup GPU pixel computation code