On Tue, Feb 9, 2016 at 7:49 PM, Kenneth Graunke <kenn...@whitecape.org> wrote: > Setting brw->ctx.NewDriverState and brw->ctx.NewGLState affects > the dirty bits for the current pipeline. But, we need to flag > everything dirty on *both* pipelines, so that when we switch > back, we'll realize our programs are stale and re-upload them. > > To accomplish this, flag the saved state for both pipelines. > Only one of them should matter, but this way we don't have to > check which we need to set. It's harmless to set the other. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93790 > Signed-off-by: Kenneth Graunke <kenn...@whitecape.org> > Reviewed-by: Jordan Justen <jordan.l.jus...@intel.com>
I can confirm that with this patch series, the crashes and valgrind use-after-free errors when running bin/arb_shader_image_load_store-semantics are gone on HSW. I'll go back to running dEQP, which I suspect will run into other crashes (it always seems to). Thanks for investigating! Feel free to add my Tested-by: Ilia Mirkin <imir...@alum.mit.edu> -ilia _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev