Mesa (master): radeonsi: include ac_binary.h for struct ac_shader_binary
Emil Velikov
evelikov at kemper.freedesktop.org
Sat Jun 17 10:40:20 UTC 2017
Module: Mesa
Branch: master
Commit: 1f958c1337290b4062a77f79fc101bb9f4bdf515
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f958c1337290b4062a77f79fc101bb9f4bdf515
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Fri Jun 16 19:53:50 2017 +0100
radeonsi: include ac_binary.h for struct ac_shader_binary
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>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Tested-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
---
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 063747a409..60fe86609b 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
More information about the mesa-commit
mailing list