From 53083e4fbc1d06c1ef241a7c8cae67d633a09a21 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 8 Mar 2019 17:48:13 -0500 Subject: [PATCH] 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 --- src/gallium/drivers/freedreno/ir3/ir3_cmdline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2