Test: the floor's set-1 sampler array is its 24,000 update-after-bind samplers

0eb982e471 raised the runtime floor profile's update-after-bind sampler limits from 12,000 to
24,000 for the LOD-clamp variants, and an_argument_sampler_array_has_the_heap_sampler_capacity
still asserted the floor's array at 12,000: it failed on development's tip (m3-max-70331 at
8ab24c9753, engine_handles.rs:4496). The lane's checks ran the runtime, validation and
conformance suites, not the translator's. The array follows heap_sampler_capacity, which reads
the profile, so the assertion and the doc comment now say 24,000; no product line moves.

Verified: not yet; the translator suite at this commit follows (named in the pin line).
This commit is contained in:
Anees Iqbal committed 2026-11-23 00:32:33 -08:00
1 parent da966cb37a
commit e50427cfe5
1 file changed
+2 -2
@@ -4448,7 +4448,7 @@ fn argument_buffer_samplers_are_heap_lookups() {
/// A kernel reading a texture and its sampler from an argument buffer has one set-1 sampler
/// array, of `heap_sampler_capacity` elements, on every committed profile that compiles it: the
/// handle table's 65536 where the update-after-bind sampler limits pass it (MoltenVK's 500000,
/// lavapipe's, NVIDIA's), the update-after-bind limits' 12000 on the runtime's floor. On the M3's profile
/// lavapipe's, NVIDIA's), the update-after-bind limits' 24000 on the runtime's floor. On the M3's profile
/// with its per-stage update-after-bind sampler limit lowered to 100, or its set's to 200, the
/// array and the answer follow it. A profile that refuses the kernel answers 0, and so does the
/// M3's without `descriptorBindingPartiallyBound` or `shaderSampledImageArrayNonUniformIndexing`,
@@ -4493,7 +4493,7 @@ fn an_argument_sampler_array_has_the_heap_sampler_capacity() {
for stem in ["moltenvk-m3", "lavapipe", "nvidia-rtx5080-laptop"] {
assert!(compiled.contains(&(stem, 65536)), "{stem}: {compiled:?}");
}
assert!(compiled.contains(&("runtime-floor", 12000)));
assert!(compiled.contains(&("runtime-floor", 24000)));
let m3 = || {
(committed_descriptions().expect("descriptions").iter())
.find(|(stem, _)| stem == "moltenvk-m3")