i965/draw: Fix adding the stencil bo to the depth cache
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 8 Jun 2018 20:24:09 +0000 (13:24 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 13 Jul 2018 15:31:21 +0000 (08:31 -0700)
commit63d428dc17eaf7cd574abd76d2e351ef2713799a
treebf485186a7ffdb499c32e7ffdc464247f3c45376
parentbe07cc43a2cd315a275e4b2f0cb384798c4a0dd4
i965/draw: Fix adding the stencil bo to the depth cache

Fix the case where stencil writes are enabled on a depth stencil
texture. Found by inspection.

v2: Fix message to allow for depth stencil writes (Topi).

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_draw.c