turnip: share code between 3D blit/clear path and tu_pipeline