diff options
author | Nanley Chery <[email protected]> | 2018-05-16 11:11:04 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2018-05-18 09:53:06 -0700 |
commit | 0ab25f05ab046532f57d683d460de5c35b74a78a (patch) | |
tree | c69ca9fa98c3d1f57acc8b471eb7ab80e98be66e /src/intel | |
parent | f88caf2321bbe809b9882fbc86f5aff718f68a75 (diff) |
i965: isl: Move the MCS gen7+ assertion into ISL
This is useful for every user of ISL. Drop the comment along the way to
match similar functions in ISL.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/isl/isl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index 7dfead00dc6..f39d8a79995 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -1642,6 +1642,8 @@ isl_surf_get_mcs_surf(const struct isl_device *dev, const struct isl_surf *surf, struct isl_surf *mcs_surf) { + assert(ISL_DEV_GEN(dev) >= 7); + /* It must be multisampled with an array layout */ assert(surf->samples > 1 && surf->msaa_layout == ISL_MSAA_LAYOUT_ARRAY); |