i965/gen4: Set depth offset when there is stencil attachment only
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Sun, 21 May 2017 04:39:07 +0000 (07:39 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Sat, 17 Jun 2017 03:38:56 +0000 (06:38 +0300)
commit69672859814f36e9b8756b8f1c4655c49b9f6f4f
tree0c947cd895432adb03b4d03f0bc92213ea9b5df5
parenta8e89cd5392e87fb592e3fb4bce135c72060e6f4
i965/gen4: Set depth offset when there is stencil attachment only

Current version fails to set depthstencil.depth_offset when there
is only stencil attachment (it does set the intra tile offsets
though). Fixes piglits:

g45,g965,ilk:   depthstencil-render-miplevels 1024 s=z24_s8
g45,ilk:        depthstencil-render-miplevels 273 s=z24_s8

CC: mesa-stable@lists.freedesktop.org
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_misc_state.c