projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4fdc65
)
intel/blorp: Assert that we don't re-layout a compressed surface
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 10 Feb 2018 18:52:51 +0000
(10:52 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 12 Dec 2018 14:32:32 +0000
(08:32 -0600)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/blorp/blorp_blit.c
patch
|
blob
|
history
diff --git
a/src/intel/blorp/blorp_blit.c
b/src/intel/blorp/blorp_blit.c
index ae3e3c5093065e57eb9bf7536f139ef96bf60f01..a5da7d015e292198aa72f4d8f42ecade53147e30 100644
(file)
--- 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 &&