Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
{
switch (surf->dim) {
default:
- assert(!"Bad isl_surf_dim");
+ unreachable("Bad isl_surf_dim");
case ISL_SURF_DIM_1D:
if (GEN_GEN >= 9) {
/* QPitch is usually expressed as rows of surface elements (where
info->view->base_level) - 1;
break;
default:
- unreachable(!"bad SurfaceType");
+ unreachable("bad SurfaceType");
}
if (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) {