summaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost/cmdline.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-08-14 12:28:01 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-14 22:54:07 +0000
commitd8d8b08fe5847755ed0f5ec4723809414dcee290 (patch)
tree8f1705452438baa3ea8f7271700e1f1bbd19be25 /src/panfrost/bifrost/cmdline.c
parentfca491c0e100ac89295dfa36ddcb63d6cb839bed (diff)
pan/bifrost: Style format the disassembler
$ astyle *.c *.h --style=linux -s8 Signed-off-by: Alyssa Rosenzweig <[email protected]>
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;