i965: Fix fast depth clears for surfaces with a dimension of 16384.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 23 Jan 2017 19:57:21 +0000 (11:57 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 26 Jan 2017 06:24:08 +0000 (22:24 -0800)
commit5106df85da20d57007e89262472bb1624afbdaba
treef54c40e552c5f1962fd66d9d3bc36c3b0ba0e8cf
parent022e5c7e5a5a1ff40d7f5e8d3d768345e7746678
i965: Fix fast depth clears for surfaces with a dimension of 16384.

I hadn't bothered to set this bit because I figured it would just
paper over us getting the rectangle wrong.  But it turns out that
there is a legitimate reason to use it, so let's do so.

The alternative would be to chop up 16k clears to multiple 8k clears,
which is pointlessly painful.

Cc: "17.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/drivers/dri/i965/gen8_depth_state.c