i965/blorp: Set r8stencil_needs_update when writing stencil
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 17 Jun 2017 20:50:30 +0000 (13:50 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 15 Sep 2017 17:58:55 +0000 (10:58 -0700)
commita43d379000260485fc4b2b03b069aedc46879557
treedd3690b48818af81c038fd99ceccbc96547b45b6
parent1bbe18087312e1b8ccdba6ca6dd8f1c9740a8454
i965/blorp: Set r8stencil_needs_update when writing stencil

This fixes a crash on Haswell when we try to upload a stencil texture
with blorp.  It would also be a problem if someone tried to texture from
stencil after glBlitFramebuffers.

Cc: "17.2 17.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_blorp.c