summaryrefslogtreecommitdiff
path: root/src/compiler/isaspec
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2024-02-06 16:39:37 +0100
committerMarge Bot <emma+marge@anholt.net>2024-02-06 16:38:01 +0000
commit7c198d44041ad8fa93a7f25515714c2da2489418 (patch)
treeb098af8d53ba1f4093139fdd71a4ed1087f4bdbf /src/compiler/isaspec
parentc3b667d48877864e7756943fa4901e85a7e7dc2f (diff)
isaspec: encode.py: Include assert.h
pack_field(..) makes use of assert(..). Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27491>
Diffstat (limited to 'src/compiler/isaspec')
-rwxr-xr-xsrc/compiler/isaspec/encode.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/isaspec/encode.py b/src/compiler/isaspec/encode.py
index 82826d3c20e..a5f4c8ad61b 100755
--- a/src/compiler/isaspec/encode.py
+++ b/src/compiler/isaspec/encode.py
@@ -340,6 +340,7 @@ template = """\
* IN THE SOFTWARE.
*/
+#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <util/bitset.h>