[Mesa-dev] [PATCH 3/3] radeonsi: include ac_binary.h for struct ac_shader_binary
Emil Velikov
emil.l.velikov at gmail.com
Fri Jun 16 20:09:10 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
The header embeds the struct so it needs the header inclusion instead of
the dummy forward declaration.
Cc: Nicolai Hähnle <nicolai.haehnle at amd.com>
Cc: Marek Olšák <marek.olsak at amd.com>
Cc: Tom Stellard <tstellar at redhat.com>
Fixes: 32206c5e560 ("radeonsi: Add radeon_shader_binary member to struct
si_shader")
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
NB! The series seems to build fine on my end and within Travis, yet
Jenkin results are still pending. Sent early for people to skim through.
src/gallium/drivers/radeonsi/si_shader.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index 063747a4096..60fe86609b5 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -139,9 +139,9 @@
#include <llvm-c/TargetMachine.h>
#include "tgsi/tgsi_scan.h"
#include "util/u_queue.h"
-#include "si_state.h"
-struct ac_shader_binary;
+#include "ac_binary.h"
+#include "si_state.h"
#define SI_MAX_VS_OUTPUTS 40
--
2.13.0
More information about the mesa-dev
mailing list