Skip to content
Snippets Groups Projects
Commit f617029d authored by Ilia Mirkin's avatar Ilia Mirkin
Browse files

nv50: keep track of PGRAPH state in nv50_screen

Normally this is kept in nv50_context, and on switching the active
context, the state is copied from the previous context. However when the
last context is destroyed, this is lost, and a new context might later
be created. When the currently-active context is destroyed, save its
state in the screen, and restore it when setting the current context.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90363


Reported-by: default avatarMatteo Bruni <matteo.mystral@gmail.com>
Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Tested-by: default avatarMatteo Bruni <matteo.mystral@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
parent d6fb155f
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment