dEQP test 'dEQP-GLES3.functional.fbo.color.texcube.rgba32i' reaches assert in nir_emit_alu() of fs_visitor. $ INTEL_USE_NIR=1 ./deqp-gles3 -n dEQP-GLES3.functional.fbo.color.texcube.rgba32i dEQP Core 2014.x (0xcafebabe) starting.. target implementation = 'Default' Test case 'dEQP-GLES3.functional.fbo.color.texcube.rgba32i'.. deqp-gles3: brw_fs_nir.cpp:636: void fs_visitor::nir_emit_alu(nir_alu_instr*): Assertion `__builtin_popcount(instr->dest.write_mask) == 1' failed. Aborted Disabling NIR passes the test.
This other dEQP test also hits the same assertion: dEQP-GLES3.functional.shaders.indexing.tmp_array.vec2_dynamic_write_static_read_fragment
What mesa revision are you using? What hardware? I built the deqp suite and I can't reproduce the crash.
The hardware is a Haswell laptop. I was using master as of 06/05 (git~cf5e015). But I just discovered that I had disabled many passes in brw_vec4.cpp due to my work on nir-vec4, and that was the cause. Since the assertion was in brw_fs_nir I assumed it was unrelated, but it was not. I'm badly sorry for the noise! Closing as invalid.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.