intel/compiler: Fix non-trivial designated initializer
authorErnst Sjöstrand <ernstp@gmail.com>
Sat, 12 Mar 2022 16:24:11 +0000 (17:24 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 14 Mar 2022 09:56:04 +0000 (09:56 +0000)
commite5f3689cfff9e4eb7166e7f354d754354c11e7be
tree45cb8d032df2e1edf03657ab2334f2d71cf7fb84
parentd7514c5f0408a3173c5ed10452dd33f7b6220eda
intel/compiler: Fix non-trivial designated initializer

Not supported by GCC 7.

src/compiler/nir/nir_builder_opcodes.h:14156:118:
sorry, unimplemented: non-trivial designated initializers not supported
src/intel/compiler/brw_mesh.cpp:515:7:
note: in expansion of macro ‘nir_store_per_primitive_output’

Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Fixes: bc4f8c073a2 ("intel/compiler: inject MUE initialization")
Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15360>
src/intel/compiler/brw_mesh.cpp