iris: Resolve stencil buffer lossless compression with WM_HZ_OP packet
authorSagar Ghuge <sagar.ghuge@intel.com>
Wed, 7 Aug 2019 20:42:39 +0000 (13:42 -0700)
committerSagar Ghuge <sagar.ghuge@intel.com>
Tue, 29 Oct 2019 21:46:15 +0000 (14:46 -0700)
commitb8223991b5f2296ed22122cdf8a773cabd8f2f0f
treed702583c78836cb68c75d27c18a12321f0710d20
parent87c57b8dae954c7de6a499506a4161f69076ce67
iris: Resolve stencil buffer lossless compression with WM_HZ_OP packet

Even though stencil buffer compression looks like regular lossless color
compression w/o fast clear support, we have to resolve stencil buffer
with WM_HZ_OP packet.

v2: Check if resource is stencil with helper function (Nanley Chery)

v3: Remove unnecessary included file (Nanley Chery)

v4: (Nanley Chery)
- Avoid stencil buffer aux state transition by improving condition check

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/gallium/drivers/iris/iris_resolve.c