From: Nicolai Hähnle Date: Thu, 17 Aug 2017 19:36:40 +0000 (+0200) Subject: radeonsi: update comment describing indices into sctx->descriptors X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6fdd7ba32e0305f41ac407618172c74d1dbc8dfb;p=mesa.git radeonsi: update comment describing indices into sctx->descriptors Reviewed-by: Marek Olšák --- 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,