Sfoglia il codice sorgente

List successfully emitted shaders in offline translation scans

(cherry picked from commit 6d174aeeeb93669ab9f43ff01b24963933433af8)
Aws 2 giorni fa
parent
commit
c7541110d4
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      apps/victory/src/translate.rs

+ 3 - 0
apps/victory/src/translate.rs

@@ -720,6 +720,9 @@ fn check(
         }
     }
     let Some(v) = checks.validator.as_mut() else {
+        if t.list && checks.host.is_none() {
+            t.lines.push(format!("{}  emitted", label()));
+        }
         return;
     };
     match v.validate(&mut shader.dxil) {