symbol_table: Don't bother resetting the key on popping scope.
authorEmma Anholt <emma@anholt.net>
Wed, 12 Apr 2023 19:07:10 +0000 (12:07 -0700)
committerMarge Bot <emma+marge@anholt.net>
Sat, 15 Apr 2023 18:33:25 +0000 (18:33 +0000)
commit46498abbacb1a59cd37aa54ba5d7b9ca703ae059
tree05ff7113cc21867aa6d76299839c19eaa25e3a6d
parent0a400f933fa0962f4a709bec3f4d10cbcffb3614
symbol_table: Don't bother resetting the key on popping scope.

If you made a same-name symbol, then its name was just the name from the
parent scope anyway.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22451>
src/mesa/program/symbol_table.c