diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2017-06-16 19:53:50 +0100 |
---|---|---|
committer | Andres Gomez <agomez@igalia.com> | 2017-06-28 20:17:13 +0300 |
commit | 2cce0c2971797f6f45057156ce025c8736c9a11a (patch) | |
tree | f657c540ba3cfca1a56a2cc2475bfa495dfd9014 | |
parent | 065643fe67e5b6ac7e7f0437d3a4a93474615b6c (diff) |
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@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>
(cherry picked from commit 1f958c1337290b4062a77f79fc101bb9f4bdf515)
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index cfa691b0589..2aac4242d77 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -72,9 +72,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 |