From b01afd06cd6e71da8bb2ffe88920097d80b51474 Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Sat, 19 Oct 2024 18:43:05 -0700 Subject: [PATCH] nir: update docs for nir_get_io_arrayed_index_src Signed-off-by: Benjamin Lee Reviewed-by: Boris Brezillon Reviewed-by: Lionel Landwerlin Part-of: --- src/compiler/nir/nir_lower_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/nir/nir_lower_io.c b/src/compiler/nir/nir_lower_io.c index 016291cd259..10b11173d80 100644 --- a/src/compiler/nir/nir_lower_io.c +++ b/src/compiler/nir/nir_lower_io.c @@ -2887,7 +2887,7 @@ nir_get_io_offset_src(nir_intrinsic_instr *instr) } /** - * Return the vertex index source number for a load/store per_vertex intrinsic or -1 if there's no offset. + * Return the array index source number for an arrayed load/store intrinsic or -1 if there's no offset. */ int nir_get_io_arrayed_index_src_number(const nir_intrinsic_instr *instr) @@ -2908,7 +2908,7 @@ nir_get_io_arrayed_index_src_number(const nir_intrinsic_instr *instr) } /** - * Return the vertex index source for a load/store per_vertex intrinsic. + * Return the array index source for an arrayed load/store intrinsic. */ nir_src * nir_get_io_arrayed_index_src(nir_intrinsic_instr *instr)