From 7b017d933b60038236953b7a722aa4110516534b Mon Sep 17 00:00:00 2001 From: Francisco Casas Date: Fri, 3 Oct 2025 18:49:50 -0300 Subject: [PATCH] vkd3d-shader: Update the vsir_program_iterator_insert_before() comment. "ins_it" is not really optional. --- libs/vkd3d-shader/vkd3d_shader_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/vkd3d-shader/vkd3d_shader_private.h b/libs/vkd3d-shader/vkd3d_shader_private.h index 8e9db2b09..b2c98fc17 100644 --- a/libs/vkd3d-shader/vkd3d_shader_private.h +++ b/libs/vkd3d-shader/vkd3d_shader_private.h @@ -1502,9 +1502,9 @@ static inline bool vsir_program_iterator_insert_after(struct vsir_program_iterat } /* When insertion takes place, argument `it' is updated to point to the same - * instruction as before the insertion, and the optional argument `ins_it' is - * initialized to point to the first inserted instruction. - * A pointer to the first inserted instruction is returned. */ + * instruction as before the insertion, and argument `ins_it' is initialized + * to point to the first inserted instruction. A pointer to the first inserted + * instruction is returned. */ static inline struct vkd3d_shader_instruction *vsir_program_iterator_insert_before( struct vsir_program_iterator *it, struct vsir_program_iterator *ins_it, size_t count) {