From: Nicolai Hähnle <nicolai.haeh...@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
@@ -68,21 +68,21 @@ struct ac_shader_binary {
        /** Disassembled shader in a string. */
        char *disasm_string;
        char *llvm_ir_string;
 };
 
 struct ac_shader_config {
        unsigned num_sgprs;
        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;
        unsigned scratch_bytes_per_wave;
 };
 
 /*
  * Parse the elf binary stored in \p elf_data and create a
  * ac_shader_binary object.
  */
-- 
2.20.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to