Possible array out of bounds in brw_vec4_nir.cpp
float f[4] = { 0.0f, 0.0f, 0.0f, 0.0f };
bool is_scalar = true;
for (unsigned i = 0; i < NIR_MAX_VEC_COMPONENTS; i++) {
if (nir_alu_instr_channel_used(instr, idx, i)) {
f[i] = nir_src_comp_as_float(instr->src[idx].src,
instr->src[idx].swizzle[i]);
f
is array with 4 elements but NIR_MAX_VEC_COMPONENTS
(16) may access it in 15 element