summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/panfrost/meson.build')
-rw-r--r--src/gallium/drivers/panfrost/meson.build31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/meson.build b/src/gallium/drivers/panfrost/meson.build
index 371a11a934b..b3673d15bc1 100644
--- a/src/gallium/drivers/panfrost/meson.build
+++ b/src/gallium/drivers/panfrost/meson.build
@@ -30,6 +30,8 @@ files_panfrost = files(
'midgard/cppwrap.cpp',
'midgard/disassemble.c',
+ 'bifrost/disassemble.c',
+
'pan_context.c',
'pan_job.c',
'pan_trace.c',
@@ -55,6 +57,7 @@ inc_panfrost = [
inc_src,
include_directories('include'),
include_directories('midgard'),
+ include_directories('bifrost'),
]
compile_args_panfrost = [
@@ -98,6 +101,11 @@ files_midgard = files(
'midgard/cmdline.c',
)
+files_bifrost = files(
+ 'bifrost/disassemble.c',
+ 'bifrost/cmdline.c',
+)
+
midgard_compiler = executable(
'midgard_compiler',
[files_midgard, midgard_nir_algebraic_c],
@@ -114,6 +122,29 @@ midgard_compiler = executable(
build_by_default : true
)
+bifrost_compiler = executable(
+ 'bifrost_compiler',
+ [files_bifrost],
+ include_directories : [
+ inc_common,
+ inc_src,
+ inc_include,
+ inc_gallium,
+ inc_gallium_aux,
+ include_directories('bifrost')
+ ],
+ dependencies : [
+ dep_thread,
+ idep_nir
+ ],
+ link_with : [
+ libgallium,
+ libglsl_standalone,
+ libmesa_util
+ ],
+ build_by_default : true
+)
+
files_pandecode = files(
'pandecode/cmdline.c',
'pandecode/decode.c',