Commit 2cce0c29 authored by Emil Velikov's avatar Emil Velikov Committed by Andres Gomez

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: 32206c5e ("radeonsi: Add radeon_shader_binary member to struct
si_shader")
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: Bas Nieuwenhuizen's avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Bas Nieuwenhuizen's avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>

(cherry picked from commit 1f958c13)
parent 065643fe
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment