diff options
author | Nanley Chery <[email protected]> | 2020-03-27 17:15:51 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-19 22:41:40 +0000 |
commit | db5d98cde82b1430dd1dabe36dcfefa6aef5484c (patch) | |
tree | cc7c62d0349f46763b687d0e5c12b8c11859010a /src/gallium/drivers/iris | |
parent | d9f7fce83c1e1bacbf00677f78c58013f93094e5 (diff) |
intel: Add ISL_AUX_USAGE_GEN12_CCS_E
Add a new aux usage which more accurately describes the behavior of
CCS_E on gen12. On this platform, writes using the 3D engine are either
compressed or substituted with fast-cleared blocks.
Reviewed-by: Kenneth Graunke <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5363>
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r-- | src/gallium/drivers/iris/iris_resource.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index 232494a9c1f..0b142bb7906 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -569,6 +569,8 @@ iris_resource_configure_aux(struct iris_screen *screen, */ initial_state = ISL_AUX_STATE_CLEAR; break; + case ISL_AUX_USAGE_GEN12_CCS_E: + unreachable("Driver unprepared to handle this aux_usage."); case ISL_AUX_USAGE_CCS_D: case ISL_AUX_USAGE_CCS_E: case ISL_AUX_USAGE_STC_CCS: |