radeonsi: update comment describing indices into sctx->descriptors
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 17 Aug 2017 19:36:40 +0000 (21:36 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 23 Aug 2017 11:54:01 +0000 (13:54 +0200)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state.h

index ca701658d0b66ac30425d05ba901da88c35715ea..26c7b4ca9a37195ede712b2eae0d1dbb66446558 100644 (file)
@@ -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,