iris: make surface states for CCS_D too
CCS_E can fall back to CCS_D with incompatible format views CCS_D is pretty useless without fast clears and we may as well use NONE, but we're surely going to hook those up at some point, so may as well just go ahead and do it now...
This commit is contained in:
@@ -572,7 +572,8 @@ iris_resource_create_with_modifiers(struct pipe_screen *pscreen,
|
||||
} else if (supports_ccs(devinfo, &res->surf)) {
|
||||
if (isl_format_supports_ccs_e(devinfo, res->surf.format))
|
||||
res->aux.possible_usages |= 1 << ISL_AUX_USAGE_CCS_E;
|
||||
else if (isl_format_supports_ccs_d(devinfo, res->surf.format))
|
||||
|
||||
if (isl_format_supports_ccs_d(devinfo, res->surf.format))
|
||||
res->aux.possible_usages |= 1 << ISL_AUX_USAGE_CCS_D;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user