swr/rast: adjust linux cpu topology identification code
authorTim Rowley <timothy.o.rowley@intel.com>
Wed, 6 Sep 2017 19:59:33 +0000 (14:59 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Wed, 13 Sep 2017 15:09:47 +0000 (10:09 -0500)
commitead0dfe31ec7a1b1928e4abbfa99d59e0e5e929a
treef7dd741cc766f764474b850c40d566990292b903
parent1ccf9ad280415536056095314b470156e29b057e
swr/rast: adjust linux cpu topology identification code

Make more robust to handle strange strange configurations like a vmware
exported 4-way numa X 1-core configuration.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/core/threads.cpp