amd/common: clarify ac_shader_binary::lds_size
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 23 May 2018 19:52:26 +0000 (21:52 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 12 Jun 2019 22:33:21 +0000 (18:33 -0400)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_binary.h

index febc4da7fed1b993493d209fcfb0c27a51f69501..8f594a9ce7517bfb2d5ae5756ee5f8d743a00149 100644 (file)
@@ -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;