Mesa (master): amd/common: clarify ac_shader_binary::lds_size

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 12 22:33:35 UTC 2019


Module: Mesa
Branch: master
Commit: c129cb38613be79198ff57987d5b419f8b04973d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c129cb38613be79198ff57987d5b419f8b04973d

Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date:   Wed May 23 21:52:26 2018 +0200

amd/common: clarify ac_shader_binary::lds_size

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

---

 src/amd/common/ac_binary.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;




More information about the mesa-commit mailing list