aco: fix C++11/C++14 compilation
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 6 Aug 2020 22:21:47 +0000 (23:21 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Thu, 6 Aug 2020 22:51:14 +0000 (23:51 +0100)
commit21b47cbd9968035edff9069b0939151bc3ad8182
tree1232f12699f393655c1eef9010f531df6654692d
parent782ba8d3ae55af392da8ca829f3a185c10bbecfc
aco: fix C++11/C++14 compilation

static_assert without a message is only available since C++17.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fixes: d1f992f3c2d ('aco: rework barriers and replace can_reorder')
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3374
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6216>
src/amd/compiler/aco_ir.h