Pyramid generation shader optimization.