6e5d126a65
If multisample is enabled and alpha testing happens, the branch can jump out of the fragment shader before the other samples are generated. Just don't take the branch optimisation post alpha test if multisample is enabled. This should fix some rendering bugs in kicad with multisample enabled. Cc: mesa-stable Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17049>