summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2018-05-23 21:52:26 +0200
committerMarek Olšák <[email protected]>2019-06-12 18:33:21 -0400
commitc129cb38613be79198ff57987d5b419f8b04973d (patch)
tree92ee0ee1c34107340fbb16c83ea340de4182c146 /src/amd
parent2e96c010733c720159cfb2cdbcdb62443d64d173 (diff)
amd/common: clarify ac_shader_binary::lds_size
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/common/ac_binary.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_binary.h b/src/amd/common/ac_binary.h
index febc4da7fed..8f594a9ce75 100644
--- a/src/amd/common/ac_binary.h
+++ b/src/amd/common/ac_binary.h
@@ -75,7 +75,7 @@ struct ac_shader_config {
unsigned num_vgprs;
unsigned spilled_sgprs;
unsigned spilled_vgprs;
- unsigned lds_size;
+ unsigned lds_size; /* in HW allocation units; i.e 256 bytes on SI, 512 bytes on CI+ */
unsigned spi_ps_input_ena;
unsigned spi_ps_input_addr;
unsigned float_mode;