swr/rast: adjust std::string usage to fix build
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 26 Jun 2017 13:57:38 +0000 (08:57 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Mon, 26 Jun 2017 16:29:27 +0000 (11:29 -0500)
commit0e1e5a2b14cb602030928431bec45af394be43e3
treebcc52673b24471c6db4f389124547ddef799da72
parent3c7c82cef060c6e480c674609c7e27d7184ab526
swr/rast: adjust std::string usage to fix build

Some combinations of c++ compilers and standard libraries had problems
with the string::replace code we were using previously.

This should fix the travis-ci system.

Tested-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_knobs.cpp