meson/iris: Use current coding style
authorDylan Baker <dylan@pnwbakers.com>
Thu, 20 Dec 2018 17:54:17 +0000 (09:54 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 25 Feb 2019 23:37:27 +0000 (23:37 +0000)
Just a few minor style things.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/iris/meson.build

index de18de0eb26780c71a5bf55ef790144816b94a66..7454105c232f679705166d8706bb4cde744dccae 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright © 2017 Intel Corporation
+# Copyright © 2017-2019 Intel Corporation
 #
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to deal
@@ -48,15 +48,16 @@ files_libiris = files(
 
 iris_gen_libs = []
 foreach v : ['80', '90', '100', '110']
-  _lib = static_library(
+  iris_gen_libs += static_library(
     'libiris_gen@0@'.format(v),
     ['iris_blorp.c', 'iris_state.c', gen_xml_pack],
     include_directories : [inc_common, inc_intel, inc_nir],
-    c_args : [c_vis_args, no_override_init_args, c_sse2_args,
-              '-DGEN_VERSIONx10=@0@'.format(v)],
+    c_args : [
+      c_vis_args, no_override_init_args, c_sse2_args,
+      '-DGEN_VERSIONx10=@0@'.format(v),
+    ],
     dependencies : [dep_libdrm, dep_valgrind],
   )
-  iris_gen_libs += _lib
 endforeach
 
 libiris = static_library(
@@ -71,8 +72,10 @@ libiris = static_library(
   c_args : [c_vis_args, c_sse2_args],
   cpp_args : [cpp_vis_args, c_sse2_args],
   dependencies : [dep_libdrm, dep_valgrind],
-  link_with : [iris_gen_libs, libintel_common, libintel_compiler, libintel_dev,
-               libisl, libblorp],
+  link_with : [
+    iris_gen_libs, libintel_common, libintel_compiler, libintel_dev, libisl,
+    libblorp
+  ],
 )
 
 driver_iris = declare_dependency(