nir: fix typo in comment
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 26 Sep 2023 04:47:50 +0000 (14:47 +1000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 28 Sep 2023 01:54:43 +0000 (01:54 +0000)
The variable is unused or dead, not used.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25414>

src/compiler/nir/nir_remove_dead_variables.c

index 43fa897..599523f 100644 (file)
@@ -169,7 +169,7 @@ remove_dead_vars(struct exec_list *var_list, nir_variable_mode modes,
 
       struct set_entry *entry = _mesa_set_search(live, var);
       if (entry == NULL) {
-         /* Mark this variable as used by setting the mode to 0 */
+         /* Mark this variable as dead by setting the mode to 0 */
          var->data.mode = 0;
          exec_node_remove(&var->node);
          progress = true;