mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
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: d1f992f3c2 ('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>
This commit is contained in:
parent
782ba8d3ae
commit
21b47cbd99
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ struct memory_sync_info {
|
|||
return (!storage || (semantics & semantic_can_reorder)) && !(semantics & semantic_volatile);
|
||||
}
|
||||
};
|
||||
static_assert(sizeof(memory_sync_info) == 3);
|
||||
static_assert(sizeof(memory_sync_info) == 3, "Unexpected padding");
|
||||
|
||||
enum fp_round {
|
||||
fp_round_ne = 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue