[Mesa-dev] [PATCH 01/15] radeonsi: document what si_descriptors.c does
Marek Olšák
maraeo at gmail.com
Fri Sep 19 13:17:04 PDT 2014
From: Marek Olšák <marek.olsak at amd.com>
---
src/gallium/drivers/radeonsi/si_descriptors.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c
index 792d2c3..2543052 100644
--- a/src/gallium/drivers/radeonsi/si_descriptors.c
+++ b/src/gallium/drivers/radeonsi/si_descriptors.c
@@ -23,6 +23,17 @@
* Authors:
* Marek Olšák <marek.olsak at amd.com>
*/
+
+/* Resource binding slots and sampler states (each described with 8 or 4 dwords)
+ * live in memory on SI.
+ *
+ * This file is responsible for managing lists of resources and sampler states
+ * in memory and binding them, which means updating those structures in memory.
+ *
+ * There is also code for updating shader pointers to resources and sampler
+ * states. CP DMA functions are here too.
+ */
+
#include "radeon/r600_cs.h"
#include "si_pipe.h"
#include "si_shader.h"
--
1.9.1
More information about the mesa-dev
mailing list