aco: fix C++11/C++14 compilation
[mesa.git] / src / amd / compiler / aco_ir.h
index 9dda1ffb723d8fb7a06466628ff05dfbe6d5db3b..1d6220ef928f3d7df4b447ca3dd93bb293071808 100644 (file)
@@ -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,