From: Rob Clark Date: Fri, 8 Mar 2019 22:48:13 +0000 (-0500) Subject: freedreno/ir3: fix ir3_cmdline harder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53083e4fbc1d06c1ef241a7c8cae67d633a09a21;p=mesa.git freedreno/ir3: fix ir3_cmdline harder Fixes: 45271702ec9 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 2da52df4141..2892e7c9c8d 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c @@ -43,6 +43,8 @@ #include "ir3/instr-a3xx.h" #include "ir3/ir3.h" +#include "main/mtypes.h" + #include "compiler/glsl/standalone.h" #include "compiler/glsl/glsl_to_nir.h" #include "compiler/glsl/gl_nir.h" @@ -51,8 +53,6 @@ #include "pipe/p_context.h" -#include "main/mtypes.h" - static void dump_info(struct ir3_shader_variant *so, const char *str) { uint32_t *bin;