radeonsi: include ac_binary.h for struct ac_shader_binary
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 16 Jun 2017 18:53:50 +0000 (19:53 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 17 Jun 2017 10:38:02 +0000 (11:38 +0100)
The header embeds the struct so it needs the header inclusion instead of
the dummy forward declaration.

Cc: Nicolai Hähnle <nicolai.haehnle@amd.com>
Cc: Marek Olšák <marek.olsak@amd.com>
Cc: Tom Stellard <tstellar@redhat.com>
Fixes: 32206c5e560 ("radeonsi: Add radeon_shader_binary member to struct
si_shader")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_shader.h

index 063747a409699c13efbee19a64d9c29c4c92ab1c..60fe86609b54e37215cb3ee54d3f8ee2e95f0e72 100644 (file)
 #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