gallium/swr: simplify environmental variabled expansion code
authorKrzysztof Raszkowski <krzysztof.raszkowski@intel.com>
Mon, 10 Feb 2020 15:24:10 +0000 (16:24 +0100)
committerKrzysztof Raszkowski <krzysztof.raszkowski@intel.com>
Mon, 10 Feb 2020 16:10:47 +0000 (17:10 +0100)
commit689817c9dfde9a0852f2b2489cb0fa93ffbcb215
tree298f261483bc1d4734d5a53ffc28d7b3065a344c
parent34fd894e42ae1ec9d35bf9c4f05364b03dd4a223
gallium/swr: simplify environmental variabled expansion code

There were 2 versions of code doing the same thing.
Since std::regexp are locale-sensitive better is to leave old
good way to do this.

Reviewed-by: Jan Zielinski <jan.zielinski@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3761>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3761>
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_knobs.cpp