Module: Mesa
Branch: main
Commit: feeeb45639b3bb608a6bae090c6cff67dd91e75d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=feeeb45639b3bb608a6bae090c6cff67dd91e75d

Author: Alyssa Rosenzweig <[email protected]>
Date:   Tue May 23 18:19:03 2023 -0400

nir: Drop stale comments

Follow-on clean up after 01e9ee79f70 ("nir: Drop unused name from
nir_ssa_dest_init"). The referenced argument no longer exists.

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Faith Ekstrand <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23181>

---

 src/compiler/nir/nir.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/compiler/nir/nir.c b/src/compiler/nir/nir.c
index 1295f34136b..56e66a47a44 100644
--- a/src/compiler/nir/nir.c
+++ b/src/compiler/nir/nir.c
@@ -1785,7 +1785,6 @@ nir_instr_rewrite_dest(nir_instr *instr, nir_dest *dest, 
nir_dest new_dest)
       src_add_all_uses(dest->reg.indirect, instr, NULL);
 }
 
-/* note: does *not* take ownership of 'name' */
 void
 nir_ssa_def_init(nir_instr *instr, nir_ssa_def *def,
                  unsigned num_components,
@@ -1809,7 +1808,6 @@ nir_ssa_def_init(nir_instr *instr, nir_ssa_def *def,
    }
 }
 
-/* note: does *not* take ownership of 'name' */
 void
 nir_ssa_dest_init(nir_instr *instr, nir_dest *dest,
                  unsigned num_components, unsigned bit_size)

Reply via email to