lima: Fix compiler warning in standalone compiler
authorAndreas Baierl <ichgeh@imkreisrum.de>
Wed, 9 Oct 2019 07:11:28 +0000 (09:11 +0200)
committerVasily Khoruzhick <anarsoul@gmail.com>
Wed, 16 Oct 2019 15:13:13 +0000 (15:13 +0000)
'struct lima_context' has to be declared before usage in lima_program.h

Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c

index aa41517eb8ce52be6d2ff49b46e41c4fa0962e01..c040d6a0657803f2166b307ed90e27538f5f48bf 100644 (file)
@@ -33,8 +33,8 @@
 #include "compiler/glsl/gl_nir.h"
 #include "compiler/nir_types.h"
 
-#include "lima_program.h"
 #include "lima_context.h"
+#include "lima_program.h"
 #include "ir/lima_ir.h"
 #include "standalone/glsl.h"