From: Emil Velikov Date: Fri, 16 Jun 2017 18:53:50 +0000 (+0100) Subject: radeonsi: include ac_binary.h for struct ac_shader_binary X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f958c1337290b4062a77f79fc101bb9f4bdf515;p=mesa.git 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 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 --- 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 #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