projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e80bca6
)
iris: Get correct resource aux usage for copy
author
Sagar Ghuge
<sagar.ghuge@intel.com>
Fri, 20 Sep 2019 21:05:58 +0000
(14:05 -0700)
committer
Sagar Ghuge
<sagar.ghuge@intel.com>
Mon, 28 Oct 2019 21:02:01 +0000
(14:02 -0700)
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 <sagar.ghuge@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/gallium/drivers/iris/iris_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_blit.c
b/src/gallium/drivers/iris/iris_blit.c
index ab3438fb6efe48c1d06ef0cc643cdde48bf2e20b..9c1a8dbe892cf0b5a8675c5133c73aeb96a60349 100644
(file)
--- 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