summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_binary.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2018-05-04 16:00:35 +0200
committerMarek Olšák <[email protected]>2019-06-12 20:28:23 -0400
commitb3be346c68953e693b79459434ff7ee9cd7b9bed (patch)
treead33079f63963bc078551616ee1ba86373c843b0 /src/amd/common/ac_binary.h
parent608257cf82f49109c8f1a2bab1d6e30fa14f9ba7 (diff)
amd/common: add a more powerful runtime linker
Using an explicit linker instead of just concatenating .text sections will allow us to start using .rodata sections and explicit descriptions of data on LDS that is shared between stages. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_binary.h')
-rw-r--r--src/amd/common/ac_binary.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_binary.h b/src/amd/common/ac_binary.h
index 8f594a9ce75..b91ecb4317b 100644
--- a/src/amd/common/ac_binary.h
+++ b/src/amd/common/ac_binary.h
@@ -80,6 +80,8 @@ struct ac_shader_config {
unsigned spi_ps_input_addr;
unsigned float_mode;
unsigned scratch_bytes_per_wave;
+ unsigned rsrc1;
+ unsigned rsrc2;
};
/*