cleanup shader optimization