aco: add message to static_assert
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 1 May 2020 16:14:51 +0000 (17:14 +0100)
committerMarge Bot <eric+marge@anholt.net>
Sat, 2 May 2020 13:59:05 +0000 (13:59 +0000)
commitb5f7b0ce194cb62eba35a95761b7a500478e4950
treed23f2a3711e75bae32c3fd381a5fb29fa251650c
parent8e02de4d7fc3bc7ac1f7f9faf0e18f33fe0098e3
aco: add message to static_assert

static_assert without a message is only supported with C++17 and later.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Fixes: c99107ece02b64916031883889b9e010c99e2435
    ('aco: add explicit padding for all Instruction sub-structs')

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4850>
src/amd/compiler/aco_ir.h