summaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/cppwrap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/midgard/cppwrap.cpp')
-rw-r--r--src/panfrost/midgard/cppwrap.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/panfrost/midgard/cppwrap.cpp b/src/panfrost/midgard/cppwrap.cpp
new file mode 100644
index 00000000000..cf2ca3b7a11
--- /dev/null
+++ b/src/panfrost/midgard/cppwrap.cpp
@@ -0,0 +1,9 @@
+struct exec_list;
+
+bool do_mat_op_to_vec(struct exec_list *instructions);
+
+extern "C" {
+ bool c_do_mat_op_to_vec(struct exec_list *instructions) {
+ return do_mat_op_to_vec(instructions);
+ }
+};