intel: Describe modifier compression with booleans
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 21 Jun 2023 15:12:16 +0000 (11:12 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Jul 2023 20:53:27 +0000 (20:53 +0000)
commitd9bdffa70889a397126c16e356f7a565b9b85f7b
tree59eaa99be87975d1aba3339be1a3274c0524c42d
parent37068e8aaf60a6d8239817b3186a7d7d41c6464e
intel: Describe modifier compression with booleans

Replace the aux_usage field with two booleans: one for render
compression and one for media compression.

This more accurately describes how CCS_E is used on gfx12. On those
platforms, the FCV feature may be enabled or disabled, but ISL's
modifier table has been using the FCV aux-usage for every gfx12 render
compression modifier. Instead, set the newly-added render compression
boolean to true.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24120>
src/gallium/drivers/iris/iris_resource.c
src/intel/isl/isl.h
src/intel/isl/isl_drm.c
src/intel/vulkan/anv_image.c