From 45271702ec9b69f8e420940e4584e4b162188ccb Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 7 Mar 2019 15:32:11 -0500 Subject: [PATCH] freedreno: fix ir3_cmdline build Fixes: 7530d4abfcf glsl/freedreno/panfrost: pass gl_context to the standalone compiler Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/ir3/ir3_cmdline.c | 2 ++ src/gallium/drivers/freedreno/meson.build | 1 + 2 files changed, 3 insertions(+) diff --git a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c index a8120578283..2da52df4141 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c @@ -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; diff --git a/src/gallium/drivers/freedreno/meson.build b/src/gallium/drivers/freedreno/meson.build index c0f3ff45e9c..fb196daea5f 100644 --- a/src/gallium/drivers/freedreno/meson.build +++ b/src/gallium/drivers/freedreno/meson.build @@ -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'), ] -- 2.30.2