i965/skl: Update stencil reference handling for Skylake.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 22 Apr 2014 02:30:51 +0000 (19:30 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Nov 2014 23:32:45 +0000 (15:32 -0800)
commiteaf12022d2cdf9f185cc57ad67cde352d7b0a446
tree55dd116fb822322f10ef9cfa363fba7da511ed52
parent822e791321c387cadcec562820a0521aae90cc77
i965/skl: Update stencil reference handling for Skylake.

Skylake uploads the stencil reference values in DW3 of the
3DSTATE_WM_DEPTH_STENCIL packet, rather than in COLOR_CALC_STATE.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/gen6_cc.c
src/mesa/drivers/dri/i965/gen8_wm_depth_stencil.c