diff options
author | Nanley Chery <[email protected]> | 2018-09-14 11:25:43 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2019-10-28 10:47:04 -0700 |
commit | 4f0b5f9732b144f9f0d6a577e10d2896cb3a4f3c (patch) | |
tree | 1b51c9bc5a3f16c2f0ceadba1a31add72eaf4707 /src | |
parent | a94cb6503f88c81cf95227702f88e29944ec4766 (diff) |
anv/image: Disable CCS_D on Gen12+
Clear-only compression no longer exists on TGL.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Sagar Ghuge <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/vulkan/anv_image.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 8db8642b5d5..dc4d9724baa 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -481,6 +481,12 @@ make_surface(const struct anv_device *dev, if (!(image->usage & VK_IMAGE_USAGE_STORAGE_BIT) && image->ccs_e_compatible) { image->planes[plane].aux_usage = ISL_AUX_USAGE_CCS_E; + } else if (dev->info.gen >= 12) { + anv_perf_warn(dev->instance, image, + "The CCS_D aux mode is not yet handled on " + "Gen12+. Not allocating a CCS buffer."); + image->planes[plane].aux_surface.isl.size_B = 0; + return VK_SUCCESS; } add_surface(image, &image->planes[plane].aux_surface, plane); |