From: Rob Clark Date: Thu, 7 Mar 2019 20:32:11 +0000 (-0500) Subject: freedreno: fix ir3_cmdline build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45271702ec9b69f8e420940e4584e4b162188ccb;p=mesa.git freedreno: fix ir3_cmdline build Fixes: 7530d4abfcf glsl/freedreno/panfrost: pass gl_context to the standalone compiler Signed-off-by: Rob Clark --- 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'), ]