f89b29f708
Commiteda3e4e055moved the creation of s->info.name to shader creation time, rather than after the compile. A few lines after creating the shader, prog_to_nir clobbers s->info entirely, losing the name. This dropped the "ARB" indicator that iris uses to switch math to the legacy non-IEEE mode used by ARB_vertex_program/fragment_program. Revert that hunk and go back to doing things the way they were. Fixes:eda3e4e055("nir/builder: Add a name format arg to nir_builder_init_simple_shader().") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3777 Acked-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7564>