freedreno: fix ir3_cmdline build
authorRob Clark <robdclark@gmail.com>
Thu, 7 Mar 2019 20:32:11 +0000 (15:32 -0500)
committerRob Clark <robdclark@gmail.com>
Thu, 7 Mar 2019 20:33:20 +0000 (15:33 -0500)
Fixes: 7530d4abfcf glsl/freedreno/panfrost: pass gl_context to the standalone compiler
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
src/gallium/drivers/freedreno/meson.build

index a8120578283e9ce026262b8361e808f0189a4f6b..2da52df4141900c02724e8977ee34a7d3c986f8b 100644 (file)
@@ -51,6 +51,8 @@
 
 #include "pipe/p_context.h"
 
+#include "main/mtypes.h"
+
 static void dump_info(struct ir3_shader_variant *so, const char *str)
 {
        uint32_t *bin;
index c0f3ff45e9cb75d839bd4f454a1e3b7bc264a7b4..fb196daea5fd7fec7c04e7376428947452ea0dc0 100644 (file)
@@ -214,6 +214,7 @@ files_libfreedreno = files(
 )
 
 freedreno_includes = [
+  inc_mesa, inc_mapi,
   inc_src, inc_include, inc_gallium, inc_gallium_aux,
   inc_freedreno, include_directories('ir3'),
 ]