AFAIK the patch has to be applied to the linux kernel, not to mesa. That's how I did it after all, but it didn't seem to fix the issue. I'm using Arch Linux btw, so I had to a command to the PKGBUILD in order to apply the patch during the build process.