diff options
author | Jason Ekstrand <[email protected]> | 2018-02-10 10:52:51 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-12-12 08:32:32 -0600 |
commit | 5749c0ebc43674aab1632bfd590238b13182fcdb (patch) | |
tree | 7b47d8875495dae335289b1d2f09184700210d8b /src/intel/blorp | |
parent | e4fdc650f1c5ada29037daa954b2fd3b031cb328 (diff) |
intel/blorp: Assert that we don't re-layout a compressed surface
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/blorp')
-rw-r--r-- | src/intel/blorp/blorp_blit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c index ae3e3c50930..a5da7d015e2 100644 --- a/src/intel/blorp/blorp_blit.c +++ b/src/intel/blorp/blorp_blit.c @@ -1518,6 +1518,9 @@ blorp_surf_convert_to_single_slice(const struct isl_device *isl_dev, { bool ok UNUSED; + /* It would be insane to try and do this on a compressed surface */ + assert(info->aux_usage == ISL_AUX_USAGE_NONE); + /* Just bail if we have nothing to do. */ if (info->surf.dim == ISL_SURF_DIM_2D && info->view.base_level == 0 && info->view.base_array_layer == 0 && |