aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-09-15 23:19:44 +0200
committerMarek Olšák <[email protected]>2014-09-24 14:48:02 +0200
commitfd076259ff53df593a31ff6e888e3f36afa86c46 (patch)
tree60723e5ae91c22e41a18656394dc4840b531358b /src/gallium/drivers
parent4ace4190ac0f4f873cf93189d3b934d36acd3329 (diff)
radeonsi: document what si_descriptors.c does
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/si_descriptors.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c
index 792d2c3a9de..254305231dc 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 <[email protected]>
*/
+
+/* 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"