From fd076259ff53df593a31ff6e888e3f36afa86c46 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 15 Sep 2014 23:19:44 +0200 Subject: [PATCH] radeonsi: document what si_descriptors.c does MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Michel Dänzer --- 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 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 */ + +/* 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" -- 2.30.2