rt: the floor profile requires pipelineCreationCacheControl, and the module digest reads its page as 4-byte chunks
Check m3-max-63418 on 2686094aaa: the runtime-floor profile's m2v_runtime_floor block, which
the_floor_profile_states_exactly_the_floor holds equal to floor.rs, lacked the new
pipelineCreationCacheControl row (added to RUNTIME_FLOOR in regen_device_profiles.py and to the
block it writes; the device's own Vulkan 1.3 features already stated it; check_device_profiles 0
findings, the script's 41 unit tests pass), and clippy's chunks_exact_to_as_chunks asked for
as_chunks_mut in the digest's page fill. The lavapipe rt suite otherwise read 573 of 574.
This commit is contained in:
1 parent
d8facd6c77
commit
fe6ed10162
3 files changed
+6
-4
No files matched your search
@@ -261,8 +261,8 @@ fn words_digest(words: &[u32]) -> [u8; 32] {
|
||||
let mut h = Sha256::new();
|
||||
let mut page = [0u8; 4096];
|
||||
for chunk in words.chunks(page.len() / 4) {
|
||||
for (bytes, word) in page.chunks_exact_mut(4).zip(chunk) {
|
||||
bytes.copy_from_slice(&word.to_le_bytes());
|
||||
for (bytes, word) in page.as_chunks_mut::<4>().0.iter_mut().zip(chunk) {
|
||||
*bytes = word.to_le_bytes();
|
||||
}
|
||||
h.update(&page[..chunk.len() * 4]);
|
||||
}
|
||||
|
||||
@@ -1187,7 +1187,8 @@
|
||||
"shaderTerminateInvocation": true,
|
||||
"shaderZeroInitializeWorkgroupMemory": true,
|
||||
"synchronization2": true,
|
||||
"dynamicRendering": true
|
||||
"dynamicRendering": true,
|
||||
"pipelineCreationCacheControl": true
|
||||
},
|
||||
"VkPhysicalDeviceRobustness2FeaturesEXT": {
|
||||
"nullDescriptor": true,
|
||||
|
||||
@@ -135,7 +135,8 @@ RUNTIME_FLOOR = {
|
||||
"VkPhysicalDeviceVulkan13Features": {member: True for member in (
|
||||
"subgroupSizeControl", "computeFullSubgroups", "robustImageAccess",
|
||||
"shaderDemoteToHelperInvocation", "shaderTerminateInvocation",
|
||||
"shaderZeroInitializeWorkgroupMemory", "synchronization2", "dynamicRendering")},
|
||||
"shaderZeroInitializeWorkgroupMemory", "synchronization2", "dynamicRendering",
|
||||
"pipelineCreationCacheControl")},
|
||||
"VkPhysicalDeviceRobustness2FeaturesEXT": {"nullDescriptor": True,
|
||||
"robustImageAccess2": True},
|
||||
"VkPhysicalDeviceLineRasterizationFeaturesEXT": {"bresenhamLines": True},
|
||||
|
||||
Reference in new issue
Block a user