Apparently older macOS M1 GPU drivers' performance falls off a cliff when using const float arrays instead. Fixes #6479