swr/rast: non-regex knob fallback code for gcc < 4.9
authorTim Rowley <timothy.o.rowley@intel.com>
Wed, 26 Jul 2017 20:17:49 +0000 (15:17 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 27 Jul 2017 13:31:21 +0000 (08:31 -0500)
commite21fc2c625279b29a3c05d3341b8b748655d5cec
treeae7573170b06b0cd7a3cd849e607464929a67c68
parent2c34b49d9e2fe03376385199ef76915884ffd962
swr/rast: non-regex knob fallback code for gcc < 4.9

gcc prior to 4.9 didn't implement <regex>, causing a startup crash
in the swr knob parameter reading code.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_knobs.cpp