Skip to content

brw_simd_selection.cpp: fix non-trivial designated initializers issue

Kai Kang requested to merge kai/mesa:intel-compiler into main

It fails to compile intel/compiler/brw_simd_selection.cpp with g++ 7.5.0:

| mesa-23.0.0/src/intel/compiler/brw_simd_selection.cpp: In function ‘int brw_simd_select_for_workgroup_size(const intel_device_info*, const brw_cs_prog_data*, const unsigned int*)’: | mesa-23.0.0/src/intel/compiler/brw_simd_selection.cpp:205:7: sorry, unimplemented: non-trivial designated initializers not supported | }; | ^

Initialize the leading 2 members to fix the issue.

Signed-off-by: Kai Kang kai.kang@windriver.com

Merge request reports