diff --git a/crates/metal2vulkan/src/spirv/requirements/writes/tests.rs b/crates/metal2vulkan/src/spirv/requirements/writes/tests.rs index a6c7630f1..ca37976ed 100644 --- a/crates/metal2vulkan/src/spirv/requirements/writes/tests.rs +++ b/crates/metal2vulkan/src/spirv/requirements/writes/tests.rs @@ -244,17 +244,12 @@ fn the_shadow_stencils_writes_are_not_the_functions() { assert!(writes_memory(&image_write(imageblock)).expect("another image")); } -/// A color's interlocked storage form and an extended-range color's `half` shadow are the -/// product's, carrying Metal's color attachment write, so their writes are not the function's; a -/// texture's write is. +/// A color's interlocked storage form is the product's, carrying Metal's color attachment write, +/// so its writes are not the function's; a texture's write is. #[test] -fn a_colors_storage_form_and_half_shadow_writes_are_not_the_functions() { - for kind in [ResourceKind::TileAttachment(2)] { - assert!( - !writes_memory(&image_write(kind)).expect("color"), - "{kind:?}" - ); - } +fn a_colors_storage_form_writes_are_not_the_functions() { + let color = ResourceKind::TileAttachment(2); + assert!(!writes_memory(&image_write(color)).expect("color")); assert!(writes_memory(&image_write(ResourceKind::Texture)).expect("a texture")); }