intel/blorp: Use isl_aux_usage_has_mcs instead of comparing
authorSagar Ghuge <sagar.ghuge@intel.com>
Thu, 10 Oct 2019 17:40:17 +0000 (10:40 -0700)
committerSagar Ghuge <sagar.ghuge@intel.com>
Mon, 28 Oct 2019 21:02:01 +0000 (14:02 -0700)
commite80bca6895e6dca2e6d951c0a84ff3e55ce5c8c3
tree817691db11d6cf4412fde880fd6b2fd6ceb8d2ac
parentd1566323747da7bf3aa0fe6fcb387b956c9d0954
intel/blorp: Use isl_aux_usage_has_mcs instead of comparing

Depending on MCS_CSS or MCS we can emit blorp blit shaders.

As we support MCS_CSS and MCS, it makes sense to use
isl_aux_usage_has_mcs function.

v2: Fix commit message (Nanley Chery)

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