diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index 54bf2e829..4b416e97f 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -48b7912f4dddee80bc4194dde8013d44e17cb6924d2e166efa68792c3a760327 +dfe0edba01ac382597f8b3b77f0c4ce960400597e5746cc52176f2a534850dbc diff --git a/crates/metal2vulkan/src/device/profile.rs b/crates/metal2vulkan/src/device/profile.rs index 38e1d944c..89b0e98c8 100644 --- a/crates/metal2vulkan/src/device/profile.rs +++ b/crates/metal2vulkan/src/device/profile.rs @@ -322,13 +322,13 @@ fn note_fingerprint_derived() { #[cfg(not(test))] fn note_fingerprint_derived() {} -/// The profile fingerprints derived on this thread, which `tests::profile_fingerprint_derived`'s -/// count reads: a device's compiles must add none to what its own making derived. Per thread, -/// because a test harness that runs tests as threads of one process runs others beside it, and -/// their devices derive fingerprints of their own; the device's making and its compiles run on -/// the test's thread. #[cfg(test)] thread_local! { + /// The profile fingerprints derived on this thread, which `tests::profile_fingerprint_derived`'s + /// count reads: a device's compiles must add none to what its own making derived. Per thread, + /// because a test harness that runs tests as threads of one process runs others beside it, + /// and their devices derive fingerprints of their own; the device's making and its compiles + /// run on the test's thread. static FINGERPRINTS_DERIVED: std::cell::Cell = const { std::cell::Cell::new(0) }; }