I have started seeing this message when using Mesa from git: r300: Implementation error: Bad param 40 If I've understood the code correctly, this param corresponds to PIPE_CAP_SHADER_STENCIL_EXPORT.
Dave has fixed this by 510c503762a228db2b3d6804f5f5c7af9be1a920.
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.