texture_placement_device: the pitch test counts the refusals a device reached, and requires none
Development's lavapipe leg atedde5779b1failed a_pitch_the_device_lays_no_image_at_answers_its_shadow: llvmpipe refused none of the 8 pitches (its DRM_FORMAT_MOD_LINEAR image takes every one), and the test required at least one. Every answer matched the texture made there, as on the M3, where MoltenVK refuses six of the eight and the refusal arm runs (inplace's m3-max-7464). Which pitches a device refuses is the driver's answer, so the test reports the count and holds the answer-against-made comparison only. Verified: the lavapipe rerun atedde5779b1(msi m3-max-7539) printed every case's answer equal to its made route, 0 of 8 refused.
This commit is contained in:
1 parent
edde5779b1
commit
cb4dfa3bbe
1 file changed
+3
-4
@@ -590,13 +590,12 @@ fn a_pitch_the_device_lays_no_image_at_answers_its_shadow() {
|
||||
refused += 1;
|
||||
}
|
||||
}
|
||||
// Which pitches a device refuses is the driver's answer: MoltenVK refuses six of these,
|
||||
// llvmpipe none (its modifier image takes every one). Every answer above matched the texture
|
||||
// made, refused or not; the count says whether this device reached the refusal.
|
||||
eprintln!(
|
||||
"TEXTURE-PLACEMENT on {}: {refused} of {} pitches refused",
|
||||
device.name(),
|
||||
cases.len()
|
||||
);
|
||||
assert!(
|
||||
refused > 0,
|
||||
"no pitch was refused: the test reached no refusal"
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user