i965/draw: Set the r8stencil flag after drawing
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 29 May 2018 06:18:41 +0000 (23:18 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 13 Jul 2018 15:31:21 +0000 (08:31 -0700)
commitbe07cc43a2cd315a275e4b2f0cb384798c4a0dd4
treebd1ad49f737815e75d9fee5202d3dd598ba8c13c
parent0eafe44ba7980c0a4bf62c9b87e6d0d596a58afa
i965/draw: Set the r8stencil flag after drawing

Fixes the regresion introduced with commit
bdbb527a65fc729e7a9319ae67de60d03d06c3fd
"i965: Use ISL for emitting depth/stencil/hiz state on gen6+"

Found by inspection.

Prevents regressing the piglit test, fbo-depth-array stencil-draw, later
on in this series.

Cc: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_draw.c