summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_image.c
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2017-02-01 11:39:26 -0800
committerJason Ekstrand <jason.ekstrand@intel.com>2017-02-02 13:33:43 -0800
commitab06fc668453359a9b58b29a1160cb66bde0a920 (patch)
tree65b6c01dc7c5f296b05d37bb8cda88f5e9e55c62 /src/intel/vulkan/anv_image.c
parent043d92fef9315dcc303f36d472eb38b5511bb2cd (diff)
intel/isl: Rename supports_lossless_compression to supports_ccs_e
The term "lossless compression" could potentially mean multisample color compression, single-sample color compression or HiZ because they are all lossless. The term CCS_E, however, has a very precise meaning; in ISL and is only used to refer to single-sample color compression. It's also much shorter which is nice. Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Chad Versace <chadversary@chromium.org> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Diffstat (limited to 'src/intel/vulkan/anv_image.c')
-rw-r--r--src/intel/vulkan/anv_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
index 1c4282162f3..94436ca8f5d 100644
--- a/src/intel/vulkan/anv_image.c
+++ b/src/intel/vulkan/anv_image.c
@@ -229,7 +229,7 @@ make_surface(const struct anv_device *dev,
* leave compression on at all times for these formats.
*/
if (!(vk_info->flags & VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT) &&
- isl_format_supports_lossless_compression(&dev->info, format)) {
+ isl_format_supports_ccs_e(&dev->info, format)) {
if (vk_info->usage & VK_IMAGE_USAGE_STORAGE_BIT) {
/*
* For now, we leave compression off for anything that may