Module: Mesa Branch: master Commit: 1f958c1337290b4062a77f79fc101bb9f4bdf515 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f958c1337290b4062a77f79fc101bb9f4bdf515
Author: Emil Velikov <[email protected]> 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 <[email protected]> Cc: Marek Olšák <[email protected]> Cc: Tom Stellard <[email protected]> Fixes: 32206c5e560 ("radeonsi: Add radeon_shader_binary member to struct si_shader") Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Tested-by: Bas Nieuwenhuizen <[email protected]> --- 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 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
