61
61
* Min LOD, Mip Count / LOD, and Resource Min LOD must be set to zero.
63
63
if (info->dim != ISL_SURF_DIM_2D)
68
68
/* More obvious restrictions */
71
72
if (!isl_format_supports_multisampling(dev->info, info->format))
74
75
if (isl_surf_usage_is_depth_or_stencil(info->usage) ||
75
76
(info->usage & ISL_SURF_USAGE_HIZ_BIT))
76
77
require_interleaved = true;
78
79
if (require_array && require_interleaved)
81
82
if (require_interleaved) {
82
83
*msaa_layout = ISL_MSAA_LAYOUT_INTERLEAVED;