Removing unnecessary shader code.