freedreno/ir3: fix ir3_cmdline harder
authorRob Clark <robdclark@gmail.com>
Fri, 8 Mar 2019 22:48:13 +0000 (17:48 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 8 Mar 2019 23:44:57 +0000 (18:44 -0500)
Fixes: 45271702ec9 freedreno: fix ir3_cmdline build
Fixes: 7530d4abfcf glsl/freedreno/panfrost: pass gl_context to the standalone compiler
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c

index 2da52df4141900c02724e8977ee34a7d3c986f8b..2892e7c9c8dc59f0193a9952a2a6cbcebeafe38a 100644 (file)
@@ -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;