Translator tests: the old render descriptor key takes the value the smaller profile gives
The first commit of this branch drops 19 device-profile fields that nothing reads. The render descriptor key hashes the profile's fingerprint, so the key pinned for moltenvk-m3 moves: - the pin development holds (8ca94bca19, SEMANTICS 2263): ac15f365... - with the smaller profile: d4257e6b... The test's first assert pins the fixture's bytes, and it held, so neither the fixture nor any lowering changed. Verified: m3-max-64928 (msi-laptop) printed d4257e6b... as the key at1fb65bf3ef, this commit's parent.
This commit is contained in:
1 parent
1fb65bf3ef
commit
1280705fd2
1 file changed
+1
-1
@@ -1241,7 +1241,7 @@ fn the_old_render_descriptor_key_keeps_its_value() {
|
||||
let key = device("moltenvk-m3").render_descriptor_key(&d);
|
||||
let hex: String = key.digest().iter().map(|b| format!("{b:02x}")).collect();
|
||||
assert_eq!(
|
||||
hex, "ac15f3652a0851252c003f5500883b2d3e2fcc16cc1d6cfe1f222cf71610a297",
|
||||
hex, "d4257e6b3addf149d09b5ec22de6f436a8eb4f9b0c02142a271967de7f81425b",
|
||||
"the old runtime's key of the descriptor"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user