mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 12:40:23 +01:00
intel/isl: Enable INTEL_DEBUG=noccs/nohiz in ISL helpers
Let's enable INTEL_DEBUG=noccs in isl_surf_supports_ccs helper and INTEL_DEBUG=nohiz in isl_surf_get_hiz_surf helper. Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24731>
This commit is contained in:
parent
4dfd306454
commit
b3affef252
1 changed files with 6 additions and 0 deletions
|
|
@ -2248,6 +2248,9 @@ isl_surf_get_hiz_surf(const struct isl_device *dev,
|
|||
const struct isl_surf *surf,
|
||||
struct isl_surf *hiz_surf)
|
||||
{
|
||||
if (INTEL_DEBUG(DEBUG_NO_HIZ))
|
||||
return false;
|
||||
|
||||
/* HiZ support does not exist prior to Gfx5 */
|
||||
if (ISL_GFX_VER(dev) < 5)
|
||||
return false;
|
||||
|
|
@ -2366,6 +2369,9 @@ isl_surf_supports_ccs(const struct isl_device *dev,
|
|||
const struct isl_surf *surf,
|
||||
const struct isl_surf *hiz_or_mcs_surf)
|
||||
{
|
||||
if (INTEL_DEBUG(DEBUG_NO_CCS))
|
||||
return false;
|
||||
|
||||
if (surf->usage & ISL_SURF_USAGE_DISABLE_AUX_BIT)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue