summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/common/ac_binary.h')
-rw-r--r--src/amd/common/ac_binary.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/amd/common/ac_binary.h b/src/amd/common/ac_binary.h
index df945b2c720..0ece9297253 100644
--- a/src/amd/common/ac_binary.h
+++ b/src/amd/common/ac_binary.h
@@ -85,6 +85,14 @@ struct ac_shader_config {
void ac_elf_read(const char *elf_data, unsigned elf_size,
struct ac_shader_binary *binary);
+/**
+ * @returns A pointer to the start of the configuration information for
+ * the function starting at \p symbol_offset of the binary.
+ */
+const unsigned char *ac_shader_binary_config_start(
+ const struct ac_shader_binary *binary,
+ uint64_t symbol_offset);
+
void ac_shader_binary_read_config(struct ac_shader_binary *binary,
struct ac_shader_config *conf,
unsigned symbol_offset,