From 6fdd7ba32e0305f41ac407618172c74d1dbc8dfb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Thu, 17 Aug 2017 21:36:40 +0200 Subject: [PATCH] radeonsi: update comment describing indices into sctx->descriptors MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- 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.30.2