glsl: drop link_invalidate_variable_locations()
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 21 Jun 2023 03:26:10 +0000 (13:26 +1000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 6 Jul 2023 01:21:07 +0000 (01:21 +0000)
commite8c2c59372ad7d7a8d1a6a464455147be81aa0ca
tree60e548efbe3f0ceb417411c118942ba40ab75b28
parentee68c633e942dad39ed3be51984e83946b6762b5
glsl: drop link_invalidate_variable_locations()

All this code does is reinitialise the values to what the original
ir_variable() call already set them too. This code is very old dating
to the initial glsl compiler support, it has probably been unrequired
for a long time now.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22846>
src/compiler/glsl/linker.cpp