aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-03-08 17:48:13 -0500
committerRob Clark <[email protected]>2019-03-08 18:44:57 -0500
commit53083e4fbc1d06c1ef241a7c8cae67d633a09a21 (patch)
tree5f9523e14178dc7e42d9b44fbbae51cb4dfbcdd4
parentfafead7b6257d0e3f0674a1f19563ed11d47ca8d (diff)
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 <[email protected]>
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_cmdline.c4
1 files 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;