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

Author: Alyssa Rosenzweig <[email protected]>
Date:   Mon Nov  6 17:35:23 2023 -0400

nir/validate: Drop stale todo

We have dominance validation elsewhere in the file.

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Faith Ekstrand <[email protected]>
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26084>

---

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

diff --git a/src/compiler/nir/nir_validate.c b/src/compiler/nir/nir_validate.c
index 2cbdfff6ea1..81c0117ded5 100644
--- a/src/compiler/nir/nir_validate.c
+++ b/src/compiler/nir/nir_validate.c
@@ -184,8 +184,6 @@ validate_ssa_src(nir_src *src, validate_state *state,
       validate_assert(state, src->ssa->bit_size & bit_sizes);
    if (num_components)
       validate_assert(state, src->ssa->num_components == num_components);
-
-   /* TODO validate that the use is dominated by the definition */
 }
 
 static void

Reply via email to