meson/swr: replace hard-coded path with current_build_dir()
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 26 Feb 2019 14:30:53 +0000 (14:30 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 27 Feb 2019 11:13:05 +0000 (11:13 +0000)
Fixes: 93cd9905c8fbb98985ae "swr/rast: Cleanup and generalize gen_archrast"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Alok Hota <alok.hota@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/gallium/drivers/swr/rasterizer/codegen/meson.build

index ca9eccd43902dc512e3b87eaf5ff6e21287ee398..2847664a53028a51981b1bb0b108cfb46392d026 100644 (file)
@@ -73,7 +73,7 @@ foreach x : [['gen_ar_event.hpp', '--gen_event_hpp'],
       prog_python,
       '@INPUT0@',
       '--proto', '@INPUT1@', '@INPUT2@',
-      '--output-dir', 'src/gallium/drivers/swr/rasterizer/codegen'
+      '--output-dir', meson.current_build_dir(),
     ],
     depend_files : files(
       join_paths('templates', x[0]),