mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
vkd3d-shader: Update the vsir_program_iterator_insert_before() comment.
"ins_it" is not really optional.
This commit is contained in:
committed by
Henri Verbeet
parent
b5b5c67b34
commit
7b017d933b
Notes:
Henri Verbeet
2025-10-14 16:32:42 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1784
@@ -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
|
/* 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
|
* instruction as before the insertion, and argument `ins_it' is initialized
|
||||||
* initialized to point to the first inserted instruction.
|
* to point to the first inserted instruction. A pointer to the first inserted
|
||||||
* A pointer to the first inserted instruction is returned. */
|
* instruction is returned. */
|
||||||
static inline struct vkd3d_shader_instruction *vsir_program_iterator_insert_before(
|
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)
|
struct vsir_program_iterator *it, struct vsir_program_iterator *ins_it, size_t count)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user