intel/blorp: Conditionally clear full surface depth and stencil
authorSagar Ghuge <sagar.ghuge@intel.com>
Fri, 25 Sep 2020 01:09:38 +0000 (18:09 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 1 Oct 2020 16:23:10 +0000 (16:23 +0000)
commitb02bef01c89872434d957c2a5cc9b30cbe32d92d
treedf32fa624b653fe3713f4e6bc861e327da253983
parentd5849bc840e5167b5b735d9e3f1ec1e8e1197c98
intel/blorp: Conditionally clear full surface depth and stencil

We should set "Full Surface Depth and Stencil Clear" field of WM_HZ_OP
3DSTATE packet, only when application requires the entire depth surface
to be cleared.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6549>
src/intel/blorp/blorp_clear.c