https://bugs.freedesktop.org/show_bug.cgi?id=64913
--- Comment #3 from Krzysztof A. Sobiecki sobkas@gmail.com --- Created attachment 80585 --> https://bugs.freedesktop.org/attachment.cgi?id=80585&action=edit Way to big patch to "fix" this small problem
I was too lazy to fix all pipe_sampler_view_reference so in the meantime I introduced pipe_sampler_view_reference_old. It's not a fix.
/** * Similar to pipe_sampler_view_reference() but always set the pointer to * NULL and pass in an explicit context. Passing an explicit context is a * work-around for fixing a dangling context pointer problem when textures * are shared by multiple contexts. XXX fix this someday. */ static INLINE void pipe_sampler_view_release
It does the same thing and I think It might have a same problem.