Created attachment 143735 [details] [review]
Diff between fs logs
With commit be2990d8fbcd5b4b450e7bfd2053b62d66153b8d
i965: Stop setting LowerBuferInterfaceBlocks
dEQP-GLES31.functional.synchronization.in_invocation.ssbo_alias_overwrite fails when run through virglrenderer with i965 as GL host.
In the created NIR shaders block 19 a load_ssbo that is present in the nir created before applying the patch is missing in the version with the patch, and to me it seems that this is not the result of a proper optimization, because the value that is read from the ssbo in the older version is replaced by a literal constant, so I would guess that the real bug is actually in gl_nior_lower_buffers.
I'm going to give this about an 80% chance that it's a virgl bug. Most likely, virgl isn't properly propagating the SSBO aliasing decorations. Now that i965 actually optimizes things based on them, we need those decorations. Feel free to change the status back to ASSIGNED if you can prove me wrong.
Thanks for the pointer, after knowing were to look I was indeed able to fix it in virglrenderer.