gallium: Remove "optimize" parameter from pipe_screen::finalize_nir
As part of adding support for inline uniforms in Iris, I was going to add a finalize_nir
hook. I went looking to see how other drivers use the optimize
parameter, and I discovered that nobody uses it at all.
Since this touches a bunch of drivers, I decided to split it into a separate MR instead of burying it in an MR that adds a feature to Iris.
Edited by Ian Romanick