[Mesa-dev] [PATCH 2/6] radeonsi: update comment describing indices into sctx->descriptors

Nicolai Hähnle nhaehnle at gmail.com
Tue Aug 22 15:45:02 UTC 2017


From: Nicolai Hähnle <nicolai.haehnle at amd.com>

---
 src/gallium/drivers/radeonsi/si_state.h | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index ca701658d0b..26c7b4ca9a3 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -195,13 +195,12 @@ enum {
  * are contiguous:
  *
  *  0 - rw buffers
- *  1 - vertex const buffers
- *  2 - vertex shader buffers
- *   ...
- *  5 - fragment const buffers
- *   ...
- *  21 - compute const buffers
+ *  1 - vertex const and shader buffers
+ *  2 - vertex samplers and images
+ *  3 - fragment const and shader buffer
  *   ...
+ *  11 - compute const and shader buffers
+ *  12 - compute samplers and images
  */
 enum {
 	SI_SHADER_DESCS_CONST_AND_SHADER_BUFFERS,
-- 
2.11.0



More information about the mesa-dev mailing list