From 1f958c1337290b4062a77f79fc101bb9f4bdf515 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 16 Jun 2017 19:53:50 +0100 Subject: [PATCH] radeonsi: include ac_binary.h for struct ac_shader_binary MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The header embeds the struct so it needs the header inclusion instead of the dummy forward declaration. Cc: Nicolai Hähnle Cc: Marek Olšák Cc: Tom Stellard Fixes: 32206c5e560 ("radeonsi: Add radeon_shader_binary member to struct si_shader") Signed-off-by: Emil Velikov Reviewed-by: Bas Nieuwenhuizen Tested-by: Bas Nieuwenhuizen --- 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 063747a..60fe866 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -139,9 +139,9 @@ #include #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.7.4