Mesa (master): lima: Fix compiler warning in standalone compiler

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 16 16:31:03 UTC 2019


Module: Mesa
Branch: master
Commit: f906f5f05398de3142713cdea0828def2032a749
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f906f5f05398de3142713cdea0828def2032a749

Author: Andreas Baierl <ichgeh at imkreisrum.de>
Date:   Wed Oct  9 09:11:28 2019 +0200

lima: Fix compiler warning in standalone compiler

'struct lima_context' has to be declared before usage in lima_program.h

Signed-off-by: Andreas Baierl <ichgeh at imkreisrum.de>
Reviewed-by: Vasily Khoruzhick <anarsoul at gmail.com>

---

 src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c b/src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c
index aa41517eb8c..c040d6a0657 100644
--- a/src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c
+++ b/src/gallium/drivers/lima/standalone/lima_compiler_cmdline.c
@@ -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"
 




More information about the mesa-commit mailing list