summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_binary.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-01-28 23:51:19 +0100
committerBas Nieuwenhuizen <[email protected]>2017-01-30 02:07:12 +0100
commit29c1f67e9f166da4393493d213ee06498aecac51 (patch)
tree40cd0d0c313c3a8eca671bea0671b2aacfe9919a /src/amd/common/ac_binary.h
parentd115b67712d6db1eff9d3a4bb57a585c0158be74 (diff)
radv/ac: Add compiler support for spilling.
Based on code written by Dave Airlie. Signed-off-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/ac_binary.h')
-rw-r--r--src/amd/common/ac_binary.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amd/common/ac_binary.h b/src/amd/common/ac_binary.h
index 282f33d22b9..06fd855f948 100644
--- a/src/amd/common/ac_binary.h
+++ b/src/amd/common/ac_binary.h
@@ -27,6 +27,7 @@
#pragma once
#include <stdint.h>
+#include <stdbool.h>
struct ac_shader_reloc {
char name[32];
@@ -85,4 +86,5 @@ void ac_elf_read(const char *elf_data, unsigned elf_size,
void ac_shader_binary_read_config(struct ac_shader_binary *binary,
struct ac_shader_config *conf,
- unsigned symbol_offset);
+ unsigned symbol_offset,
+ bool supports_spill);