diff --git a/crates/metal2vulkan/src/tests/golden_hashes.rs b/crates/metal2vulkan/src/tests/golden_hashes.rs index 0fd91ab6a..fa6dd2a4b 100644 --- a/crates/metal2vulkan/src/tests/golden_hashes.rs +++ b/crates/metal2vulkan/src/tests/golden_hashes.rs @@ -956,6 +956,23 @@ fn golden_hashes_match_the_table() { matches_the_table(DEFAULT, &devices, &observed); } +/// Every public fixture's subjects on every committed profile under the default policy, the +/// runtime's, built as [`golden_hashes_match_the_table`] builds its table, with no hash compared: +/// it fails only where a compile ends in a translator bug (an internal error, such as a strategy's +/// read of a push field the plan did not place), which building a cell refuses. The golden check +/// is often due for a bless; this one is not, so it runs where that one is passed over. +#[test] +fn every_public_fixture_compiles_on_every_profile_without_a_translator_bug() { + let devices = devices(); + let observed = observe(DEFAULT, &devices); + eprintln!( + "{} rows x {} profiles compiled with no translator bug ({} fixture(s) skipped)", + observed.table.rows.len(), + devices.len(), + observed.skipped.len() + ); +} + /// `golden`'s committed table holds `observed` cell for cell. fn matches_the_table(golden: Golden, devices: &[(String, Device)], observed: &Observed) { let table = golden.table;