conformance: the render and compute-render families' allowance tests name pixel-sampler-scaling

0dfdaabde5 declared pixel-sampler-scaling on the three render-then-sample rows and on
kernel-writes-then-fragment-samples. The two families' own tests state each row's declarations
exactly, and they failed in R1 (job 48234): render_chains'
every_allowance_is_a_notice_declaration_chosen_from_the_rows_shape and compute_render_chains'
no_row_loosens_a_value. They now want the declaration: render_chains on every row, and
compute_render_chains on the KernelToFragment row alone.

Verified: the two failures and their messages, from R1's conformance tests (1051 of 1053 passed).
The rerun is the next check job.
This commit is contained in:
Anees Iqbal committed 2026-11-18 15:22:01 -08:00
1 parent e30698ab36
commit cfe68c4e57
2 files changed
+11 -8

No files matched your search

@@ -810,7 +810,8 @@ mod tests {
use crate::allowance::Justification;
for case in all() {
// Every allowance is a notice declaration on the notices site, so no row loosens a
// value, and the one notice declared is the venue's memory model.
// value: the venue's memory model, and pixel-sampler-scaling for the row whose
// fragment function samples through a runtime sampler slot.
let codes: Vec<String> = case
.allowances()
.iter()
@@ -827,12 +828,11 @@ mod tests {
}
})
.collect();
assert_eq!(
codes,
[metal2vulkan_runtime::Degradation::SharedInSystemMemory.code()],
"{}",
case.name()
);
let mut wanted = vec![metal2vulkan_runtime::Degradation::SharedInSystemMemory.code()];
if case.subject.crossing == Crossing::KernelToFragment {
wanted.push(metal2vulkan_runtime::Degradation::PixelSamplerScaling.code());
}
assert_eq!(codes, wanted, "{}", case.name());
assert_eq!(case.metal_source(), MetalSource::Run);
case.shaders().unwrap();
let inputs = case.inputs().unwrap();
@@ -791,7 +791,10 @@ mod tests {
// The whole set, one declaration a code the row can announce: a code the row
// announces and declares nowhere is a divergence, and a code it declares but cannot
// announce is an allowance standing behind nothing, so the set is stated exactly.
let mut wanted = vec![Degradation::SharedInSystemMemory.code().to_owned()];
let mut wanted = vec![
Degradation::SharedInSystemMemory.code().to_owned(),
Degradation::PixelSamplerScaling.code().to_owned(),
];
if case.subject.sample.half_output {
wanted.push(Degradation::HalfOutputFastMathBlend.code().to_owned());
}