aco: Use unreachable instead assert(false)

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18194>
This commit is contained in:
Yonggang Luo 2022-08-23 04:45:17 +08:00 committed by Marge Bot
parent d0401f02fd
commit 7f64137d93

View file

@ -278,7 +278,7 @@ struct InstrPred {
case Format::EXP:
case Format::SOPP:
case Format::PSEUDO_BRANCH:
case Format::PSEUDO_BARRIER: assert(false);
case Format::PSEUDO_BARRIER: unreachable("unsupported instruction format");
default: return true;
}
}