Skip to content

iris: Avoid using some invalid CCS surface states

Nanley Chery requested to merge nchery/mesa:fix/ccs-surf-states into main

There are three parts to this:

  1. Fix a bug where iris allowed fast clears with CCS_E and sRGB formats on SKL. The docs say that this aux usage and format combination isn't supported.
  2. Add asserts in ISL to catch the general issue of incompatible aux usage and format combinations. Prepare iris for this beforehand because it currently creates CCS surface states without first checking that the view format is compatible.
  3. Drop the iris_resource aux usage bit fields. With the prior step, a big part of their functionality has been moved to the create functions of sampler views, image views, and surfaces.

Merge request reports