glsl: inline do_common_optimization() call
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 8 Jun 2022 04:54:46 +0000 (14:54 +1000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 8 Jun 2022 22:58:50 +0000 (22:58 +0000)
commit893b4d98f8e1f779682e70c46b8525f58c42c5c6
tree063e2e5e000112941cc99a3c69d6bb4d585dbb01
parentd09a37ef54eaf25711745383f6521f6da59ec8ce
glsl: inline do_common_optimization() call

The function was previously a helper for when some drivers still
called the GLSL IR optimisations in a loop. No drivers do that
anymore.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16924>
src/compiler/glsl/linker.cpp