diff options
author | Apple SWE <[email protected]> | 2018-03-13 18:24:26 -0700 |
---|---|---|
committer | Jeremy Huddleston Sequoia <[email protected]> | 2018-03-13 22:50:27 -0700 |
commit | de0d10db93d85de79c7b4451c4851ace2976f8f4 (patch) | |
tree | 448bd7d9ca17a79cc13b9782384a3b6c010c3db7 /scons/dxsdk.py | |
parent | 274f8bf05ef526d65f01614313dda65bc7ec7a87 (diff) |
Add processor topology calculation implementation for Darwin/OSX targets.
The implementation for bootstrapping SWR on Darwin targets is based on the Linux version.
Instead of reading the output of /proc/cpuinfo, sysctlbyname is used to determine the
physical identifiers, processor identifiers, core counts and thread-processor affinities.
With this patch, it is possible to use SWR as an alternate renderer on OSX to softpipe and
llvmpipe.
Reviewed-by: Jeremy Huddleston Sequoia <[email protected]>
Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
Diffstat (limited to 'scons/dxsdk.py')
0 files changed, 0 insertions, 0 deletions