summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-08-17 21:36:40 +0200
committerNicolai Hähnle <[email protected]>2017-08-23 13:54:01 +0200
commit6fdd7ba32e0305f41ac407618172c74d1dbc8dfb (patch)
treea64eb790cd21823ad001812b9352970bf7168ab8 /src/gallium/drivers
parent556946f801890aaf5dbecda1f224af61f302c973 (diff)
radeonsi: update comment describing indices into sctx->descriptors
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.h11
1 files 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,