intel: Add INTEL_DEBUG=noccs alias for INTEL_DEBUG=norbc
When CCS compression first came out on Skylake, we referred to it as "renderbuffer compression", or RBC for short. However, that name has long since fallen out of favor, and we refer to it as CCS nearly everywhere. This patch renames DEBUG_NO_RBC to DEBUG_NO_CCS inside the codebase for clarity, and adds INTEL_DEBUG=noccs. The legacy INTEL_DEBUG=norbc name continues to work, because it's one line of code and having both names makes our lives easier in the interim. Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15447>
This commit is contained in:

committed by
Marge Bot

parent
85d30846db
commit
49dd707ca2
@@ -657,7 +657,7 @@ add_aux_surface_if_supported(struct anv_device *device,
|
||||
return add_aux_state_tracking_buffer(device, image, plane);
|
||||
} else if (aspect == VK_IMAGE_ASPECT_STENCIL_BIT) {
|
||||
|
||||
if (INTEL_DEBUG(DEBUG_NO_RBC))
|
||||
if (INTEL_DEBUG(DEBUG_NO_CCS))
|
||||
return VK_SUCCESS;
|
||||
|
||||
if (!isl_surf_supports_ccs(&device->isl_dev,
|
||||
@@ -687,7 +687,7 @@ add_aux_surface_if_supported(struct anv_device *device,
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
if (INTEL_DEBUG(DEBUG_NO_RBC))
|
||||
if (INTEL_DEBUG(DEBUG_NO_CCS))
|
||||
return VK_SUCCESS;
|
||||
|
||||
ok = isl_surf_get_ccs_surf(&device->isl_dev,
|
||||
|
Reference in New Issue
Block a user