mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
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:
parent
d0401f02fd
commit
7f64137d93
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue