meson: Build SWR driver

Graphics / Mesa 3D Graphics Library / Mesa - Dylan Baker [pnwbakers.com] - 9 January 2018 00:39 EST

This enables the SWR driver, but doesn't actually hook it up to any of the targets yet. I felt like this patch was big and complicated enough without adding that.

v2: - Fix typo 'delemeited' -> 'delimited' (Eric E)- Fix type 'errror' -> 'error' (Eric E)- Use variables to hold files instead of looking above the current meson build (Eric E)- Use foreach loops to reduce the number of unique generators- Add comment about why some generators have names and some are just added to a list
v3: - Remove trailing whitespace

e0b037d697 meson: Build SWR driver
meson.build | 12 +-
meson_options.txt | 6 +
src/gallium/drivers/swr/meson.build | 289 +++++++++++++++++++++
.../drivers/swr/rasterizer/codegen/meson.build | 158 +++++++++++
src/gallium/meson.build | 8 +
5 files changed, 467 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share