cell: new/tighter code for computing fragment program inputs