mesa/program: Add _mesa_symbol_table_replace_symbol()
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 20 Oct 2016 07:04:59 +0000 (09:04 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 26 Oct 2016 09:57:02 +0000 (11:57 +0200)
commitdfbdb2c0b3559c46d93f10d636a88b9541304fc7
treec600fbac7cf559e59025d1aa9c1627c29164aa47
parent2e423ca1477bd212c01676c5e4828ebdb83310d8
mesa/program: Add _mesa_symbol_table_replace_symbol()

This function allows to modify an existing symbol.

v2:
- Remove namespace usage now that it was deleted.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/mesa/program/symbol_table.c
src/mesa/program/symbol_table.h