1 $NetBSD: patch-src_intel_compiler_brw__fs__bank__conflicts.cpp,v 1.1 2019/08/21 13:35:28 nia Exp $
3 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225415
4 FreeBSD Bugzilla: Bug 225415 graphics/mesa-dri: update to 18.0.0
6 compiler/brw_fs_bank_conflicts.cpp:719:25: error: scalar initializer cannot be empty
7 vector_type s_p = {}, s_n = {};
9 compiler/brw_fs_bank_conflicts.cpp:719:35: error: scalar initializer cannot be empty
10 vector_type s_p = {}, s_n = {};
13 --- src/intel/compiler/brw_fs_bank_conflicts.cpp.orig 2018-02-09 02:17:59.000000000 +0000
14 +++ src/intel/compiler/brw_fs_bank_conflicts.cpp
15 @@ -716,7 +716,7 @@ namespace {
16 const weight_vector_type &conflicts)
18 const unsigned m = DIV_ROUND_UP(conflicts.size, vector_width);
19 - vector_type s_p = {}, s_n = {};
20 + vector_type s_p = {0}, s_n = {0};
22 for (unsigned r = 0; r < m; r++) {
23 s_p = adds(s_p, mask(bank_mask_p.v[r], conflicts.v[r]));