swr: Move environment config options into separate function.
authorBruce Cherniak <bruce.cherniak@intel.com>
Wed, 12 Jul 2017 20:04:46 +0000 (15:04 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Wed, 12 Jul 2017 21:56:40 +0000 (16:56 -0500)
commit1520a06607b58cdcadcf888594b0c2f269ba68b2
treea986a5b1f132dba0645f177e849b15538a466302
parent5bd9554f3d35951f4d182b460f8ea5fb3bb04e02
swr: Move environment config options into separate function.

Moved reading of environment config options out of
swr_create_screen_internal, into a separate swr_validate_env_options.
This is to keep from cluttering create_screen.

Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/swr_screen.cpp