nouveau: no need to do tnl wakeup, state updates are always hooked up
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 10 Aug 2015 21:41:36 +0000 (17:41 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 10 Aug 2015 21:43:44 +0000 (17:43 -0400)
commit3fa1ca34cc0134bd16b3315a0695703c9f684bd4
tree0c0ba2a221fb77c7834c8a36e3a634a91fab333b
parent8a688bee83ced46eb4bff741f05d2da033c07ade
nouveau: no need to do tnl wakeup, state updates are always hooked up

A TNL state update now requires a DrawBuffer to be set, which it isn't
early on in context creation. Since we init swtnl from context init,
this caused crashes.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91570
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/nouveau/nouveau_swtnl_t.c
src/mesa/drivers/dri/nouveau/nv04_render.c