summaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost/cmdline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/bifrost/cmdline.c')
-rw-r--r--src/panfrost/bifrost/cmdline.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/panfrost/bifrost/cmdline.c b/src/panfrost/bifrost/cmdline.c
index 4a30d7ec9f6..1abd932530b 100644
--- a/src/panfrost/bifrost/cmdline.c
+++ b/src/panfrost/bifrost/cmdline.c
@@ -30,6 +30,8 @@
#include "compiler/nir_types.h"
#include "util/u_dynarray.h"
+#include "bifrost_compile.h"
+
static void
compile_shader(char **argv)
{
@@ -100,8 +102,7 @@ main(int argc, char **argv)
}
if (strcmp(argv[1], "compile") == 0) {
compile_shader(&argv[2]);
- }
- else if (strcmp(argv[1], "disasm") == 0) {
+ } else if (strcmp(argv[1], "disasm") == 0) {
disassemble(argv[2]);
}
return 0;