summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorSagar Ghuge <[email protected]>2019-09-20 14:05:58 -0700
committerSagar Ghuge <[email protected]>2019-10-28 14:02:01 -0700
commit758a6a3a00b081db75be236e6b5c0d03e1e35440 (patch)
tree66e3d1d185514180c4d344601844dbce906d1577 /src/gallium
parente80bca6895e6dca2e6d951c0a84ff3e55ce5c8c3 (diff)
iris: Get correct resource aux usage for copy
Add case for MCS_CCS so that we get the correct aux usage while copy operation. v2: Fix commit subject (Nanley Chery) Signed-off-by: Sagar Ghuge <[email protected]> Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/iris/iris_blit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_blit.c b/src/gallium/drivers/iris/iris_blit.c
index ab3438fb6ef..9c1a8dbe892 100644
--- a/src/gallium/drivers/iris/iris_blit.c
+++ b/src/gallium/drivers/iris/iris_blit.c
@@ -525,6 +525,7 @@ get_copy_region_aux_settings(const struct gen_device_info *devinfo,
{
switch (res->aux.usage) {
case ISL_AUX_USAGE_MCS:
+ case ISL_AUX_USAGE_MCS_CCS:
case ISL_AUX_USAGE_CCS_E:
*out_aux_usage = res->aux.usage;
/* Prior to Gen9, fast-clear only supported 0/1 clear colors. Since