Runtime floor profile, conformance notices and ledger rows for the LOD-clamp variants
The committed runtime-floor profile (and its generator's RUNTIME_FLOOR block) states the floor's raised sampler limits: 24,000 maxPerStage and maxDescriptorSet UpdateAfterBindSamplers, 286,144 maxUpdateAfterBindDescriptorsInAllPools. tests::floor::the_floor_profile_states_exactly_the_floor failed without it on lavapipe (job m3-max-70138) and on the 780M, Iris Xe and RTX 3090 (m3-max-70152, -70153, -70151). The two sampler-bind-lod-clamps cases declare pixel-sampler-scaling, the static note of a sample through a runtime sampler slot, which fired on every venue (same jobs). The kernel case takes the ledger's dispatch_type row every compute-pass case of the rt side takes. compute-plural-texture-and-sampler-binding now compares its four-bindings site on lavapipe, which reads lavapipe's one-ulp 8-bit conversion, as compute-inline-bytes does over the same texture and kernel: a llvmpipe row. The cards compared it exact.
This commit is contained in:
1 parent
29e54794ca
commit
0eb982e471
5 files changed
+26
-7
No files matched your search
@@ -252,6 +252,7 @@ compressed-views-bc6h-rgb-float * refused case/2d-13x7/work Err({refused: Error:
|
||||
compressed-views-bc6h-rgb-ufloat * refused case/2d-13x7/work Err({refused: Error::Refused("a BC6HRGBFloat view of a BC6HRGBUfloat texture, which Metal does not view it as with its usage"), resource: 1 (0x1)}) An accepted difference: Metal documents no BC6H view between the format's signed and unsigned forms, and rt refuses it typed. MTLTexture.h makes a view "with a different (but compatible) pixel format"; Apple's makeTextureView(pixelFormat:) page lists the compatible groups: "All 8-, 16-, 32-, 64-, and 128-bit color formats are compatible with other formats with the same bit length.", "sRGB and non-sRGB forms of the same compressed format (for example, bc1_rgba and bc1_rgba_srgb)" and a combined depth-stencil format with its stencil view, and a compressed format's other forms are in none. The M3 Max (macOS 27.0.1) made and read the view, its API validation layer on as well.
|
||||
compute-inline-bytes llvmpipe divergent case/inline-then-buffer 10 elements differ (U32), the largest difference 1 The device's own answer (rule 1): the device converts an 8-bit code by the reciprocal product, so a code's value is one `f32` ulp off Metal's. Note `device-texel-conversion`. Open: nothing.
|
||||
compute-imageblock-sizes * refused case/outcome/dispatch_type Err(TheConsumers("an encoder's dispatchType is the argument it was made with: metal2vulkan-runtime keeps no getter and leaves it to its consumer")) refused: the consumer's own (dispatchType). rt takes the dispatch type as the encoder's argument and keeps no getter.
|
||||
compute-plural-texture-and-sampler-binding llvmpipe divergent case/four-bindings 20 elements differ (U32), the largest difference 1 The device's own answer (rule 1): the device converts an 8-bit code by the reciprocal product, so a code's value is one `f32` ulp off Metal's (the texture and kernel of `compute-inline-bytes`). Note `device-texel-conversion`. Open: nothing.
|
||||
compute-threadgroup-memory-reads-zero * refused case/outcome/dispatch_type Err(TheConsumers("an encoder's dispatchType is the argument it was made with: metal2vulkan-runtime keeps no getter and leaves it to its consumer")) refused: the consumer's own (dispatchType). rt takes the dispatch type as the encoder's argument and keeps no getter.
|
||||
compute-threadgroup-past-metals-limit 780M refused case/dispatch Err(Error::Refused("a threadgroup of [2048, 1, 1] threads is empty or past the state's 1024")) An accepted difference: Metal documents the dispatch as invalid, and rt refuses it typed. MTLComputePipeline.h: maxTotalThreadsPerThreadgroup is "The maximum total number of threads that can be in a single compute threadgroup."; Apple's maxTotalThreadsPerThreadgroup page: "The maximum number of threads in a threadgroup that you can dispatch to the pipeline." The case carries an Apple M4 measurement (macOS 27.0.1): plain Metal ran nothing; Metal's API validation asserts on the dispatch, so the suite does not hand a GPU the shape again.
|
||||
compute-threadgroup-past-metals-limit RX 7900 XTX refused case/dispatch Err(Error::Refused("a threadgroup of [2048, 1, 1] threads is empty or past the state's 1024")) An accepted difference: Metal documents the dispatch as invalid, and rt refuses it typed. MTLComputePipeline.h: maxTotalThreadsPerThreadgroup is "The maximum total number of threads that can be in a single compute threadgroup."; Apple's maxTotalThreadsPerThreadgroup page: "The maximum number of threads in a threadgroup that you can dispatch to the pipeline." The case carries an Apple M4 measurement (macOS 27.0.1): plain Metal ran nothing; Metal's API validation asserts on the dispatch, so the suite does not hand a GPU the shape again.
|
||||
@@ -3580,6 +3581,7 @@ compute-resource-barrier * refused case/outcome/dispatch_type Err(TheConsumers("
|
||||
compute-resource-residency * refused case/outcome/dispatch_type Err(TheConsumers("an encoder's dispatchType is the argument it was made with: metal2vulkan-runtime keeps no getter and leaves it to its consumer")) refused: the consumer's own (dispatchType). rt takes the dispatch type as the encoder's argument and keeps no getter.
|
||||
compute-scope-barrier * refused case/outcome/dispatch_type Err(TheConsumers("an encoder's dispatchType is the argument it was made with: metal2vulkan-runtime keeps no getter and leaves it to its consumer")) refused: the consumer's own (dispatchType). rt takes the dispatch type as the encoder's argument and keeps no getter.
|
||||
compute-threadgroup-memory-and-grid * refused case/outcome/dispatch_type Err(TheConsumers("an encoder's dispatchType is the argument it was made with: metal2vulkan-runtime keeps no getter and leaves it to its consumer")) refused: the consumer's own (dispatchType). rt takes the dispatch type as the encoder's argument and keeps no getter.
|
||||
sampler-bind-lod-clamps-kernel * refused case/outcome/dispatch_type Err(TheConsumers("an encoder's dispatchType is the argument it was made with: metal2vulkan-runtime keeps no getter and leaves it to its consumer")) refused: the consumer's own (dispatchType). rt takes the dispatch type as the encoder's argument and keeps no getter.
|
||||
fragment-imageblock-reflection * refused case/options-all-three Err(TheConsumers("metal2vulkan-runtime builds no pipeline reflection and acts on no MTLPipelineOption (FailOnBinaryArchiveMiss, ArgumentInfo, BufferTypeInfo, BindingInfo): its consumer builds reflection from the library's AIR")) refused: the consumer's own (MTLComputePipelineReflection, MTLRenderPipelineReflection, MTLPipelineOptionFailOnBinaryArchiveMiss, MTLPipelineOptionArgumentInfo, MTLPipelineOptionBufferTypeInfo, MTLPipelineOptionBindingInfo). rt builds no reflection and acts on no pipeline option; its consumer builds reflection from the library's AIR.
|
||||
fragment-imageblock-reflection * refused case/options-binding-info Err(TheConsumers("metal2vulkan-runtime builds no pipeline reflection and acts on no MTLPipelineOption (FailOnBinaryArchiveMiss, ArgumentInfo, BufferTypeInfo, BindingInfo): its consumer builds reflection from the library's AIR")) refused: the consumer's own (MTLComputePipelineReflection, MTLRenderPipelineReflection, MTLPipelineOptionFailOnBinaryArchiveMiss, MTLPipelineOptionArgumentInfo, MTLPipelineOptionBufferTypeInfo, MTLPipelineOptionBindingInfo). rt builds no reflection and acts on no pipeline option; its consumer builds reflection from the library's AIR.
|
||||
fragment-imageblock-reflection * refused case/options-binding-info-and-buffer-type-info Err(TheConsumers("metal2vulkan-runtime builds no pipeline reflection and acts on no MTLPipelineOption (FailOnBinaryArchiveMiss, ArgumentInfo, BufferTypeInfo, BindingInfo): its consumer builds reflection from the library's AIR")) refused: the consumer's own (MTLComputePipelineReflection, MTLRenderPipelineReflection, MTLPipelineOptionFailOnBinaryArchiveMiss, MTLPipelineOptionArgumentInfo, MTLPipelineOptionBufferTypeInfo, MTLPipelineOptionBindingInfo). rt builds no reflection and acts on no pipeline option; its consumer builds reflection from the library's AIR.
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -29,6 +29,7 @@
|
||||
//! Nothing here can fault a GPU: one pass or one draw a row, every texture read-only and inside
|
||||
//! Metal's limits, no loop.
|
||||
|
||||
use crate::allowance::Allowance;
|
||||
use crate::case::{
|
||||
call, drawn_or_refused, made, Abort, Case, Failure, Handle, Input, MetalSource, SamplerSpec,
|
||||
Side,
|
||||
@@ -501,6 +502,13 @@ impl Case for KernelBinds {
|
||||
shader_refs(&[KERNEL])
|
||||
}
|
||||
|
||||
/// No value is loosened. The function samples through the runtime sampler at slot 0, which
|
||||
/// the runtime's pipelines note as scaled (`replay::pixel_sampler_scaling_notice`); measured
|
||||
/// firing on lavapipe through the rt side.
|
||||
fn allowances(&self) -> Vec<Allowance> {
|
||||
vec![crate::replay::pixel_sampler_scaling_notice()]
|
||||
}
|
||||
|
||||
fn inputs(&self) -> Result<Vec<Input>, String> {
|
||||
let mut inputs = shared_inputs(&[KERNEL])?;
|
||||
inputs.push(Input::bytes("buffer:params", &kernel_params()));
|
||||
@@ -570,6 +578,13 @@ impl Case for FragmentBinds {
|
||||
shader_refs(&[VERTEX, FRAGMENT])
|
||||
}
|
||||
|
||||
/// No value is loosened. The function samples through the runtime sampler at slot 0, which
|
||||
/// the runtime's pipelines note as scaled (`replay::pixel_sampler_scaling_notice`); measured
|
||||
/// firing on lavapipe through the rt side.
|
||||
fn allowances(&self) -> Vec<Allowance> {
|
||||
vec![crate::replay::pixel_sampler_scaling_notice()]
|
||||
}
|
||||
|
||||
fn inputs(&self) -> Result<Vec<Input>, String> {
|
||||
let mut inputs = shared_inputs(&[VERTEX, FRAGMENT])?;
|
||||
inputs.push(Input::bytes("target", &target_spec().words()));
|
||||
|
||||
@@ -1226,10 +1226,10 @@
|
||||
"maxDescriptorSetUpdateAfterBindSampledImages": 131072,
|
||||
"maxPerStageDescriptorUpdateAfterBindStorageImages": 131072,
|
||||
"maxDescriptorSetUpdateAfterBindStorageImages": 131072,
|
||||
"maxPerStageDescriptorUpdateAfterBindSamplers": 12000,
|
||||
"maxDescriptorSetUpdateAfterBindSamplers": 12000,
|
||||
"maxPerStageDescriptorUpdateAfterBindSamplers": 24000,
|
||||
"maxDescriptorSetUpdateAfterBindSamplers": 24000,
|
||||
"maxPerStageUpdateAfterBindResources": 262152,
|
||||
"maxUpdateAfterBindDescriptorsInAllPools": 274144
|
||||
"maxUpdateAfterBindDescriptorsInAllPools": 286144
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -42,7 +42,7 @@ Its limits, measured rather than asserted:
|
||||
| committed recordings | 1328 |
|
||||
| distinct SDK items the Metal leg reaches, of any status | 812 |
|
||||
| of those, reached only where this cannot name the family | 5 |
|
||||
| ledger rows (a case whose gap is recorded) | 7966 |
|
||||
| ledger rows (a case whose gap is recorded) | 7968 |
|
||||
| declared crossings of the option space (pairs put to Metal at once) | 26 |
|
||||
| declared crossings that are no pair of it (a boolean or numeric field, or one type in two slots) | 30 |
|
||||
|
||||
@@ -2341,6 +2341,7 @@ A case whose difference from Metal is recorded rather than compared away. The le
|
||||
| `compressed-views-bc6h-rgb-ufloat` | An accepted difference: Metal documents no BC6H view between the format's signed and unsigned forms, and rt refuses it typed. MTLTexture.h makes a view "with a … |
|
||||
| `compute-inline-bytes` | The device's own answer (rule 1): the device converts an 8-bit code by the reciprocal product, so a code's value is one `f32` ulp off Metal's. Note `device-texe… |
|
||||
| `compute-imageblock-sizes` | refused: the consumer's own (dispatchType). rt takes the dispatch type as the encoder's argument and keeps no getter. |
|
||||
| `compute-plural-texture-and-sampler-binding` | The device's own answer (rule 1): the device converts an 8-bit code by the reciprocal product, so a code's value is one `f32` ulp off Metal's (the texture and k… |
|
||||
| `compute-threadgroup-memory-reads-zero` | refused: the consumer's own (dispatchType). rt takes the dispatch type as the encoder's argument and keeps no getter. |
|
||||
| `compute-threadgroup-past-metals-limit` | An accepted difference: Metal documents the dispatch as invalid, and rt refuses it typed. MTLComputePipeline.h: maxTotalThreadsPerThreadgroup is "The maximum to… |
|
||||
| `compute-threadgroup-past-metals-limit` | An accepted difference: Metal documents the dispatch as invalid, and rt refuses it typed. MTLComputePipeline.h: maxTotalThreadsPerThreadgroup is "The maximum to… |
|
||||
@@ -5625,6 +5626,7 @@ A case whose difference from Metal is recorded rather than compared away. The le
|
||||
| `compute-resource-residency` | refused: the consumer's own (dispatchType). rt takes the dispatch type as the encoder's argument and keeps no getter. |
|
||||
| `compute-scope-barrier` | refused: the consumer's own (dispatchType). rt takes the dispatch type as the encoder's argument and keeps no getter. |
|
||||
| `compute-threadgroup-memory-and-grid` | refused: the consumer's own (dispatchType). rt takes the dispatch type as the encoder's argument and keeps no getter. |
|
||||
| `sampler-bind-lod-clamps-kernel` | refused: the consumer's own (dispatchType). rt takes the dispatch type as the encoder's argument and keeps no getter. |
|
||||
| `fragment-imageblock-reflection` | refused: the consumer's own (MTLComputePipelineReflection, MTLRenderPipelineReflection, MTLPipelineOptionFailOnBinaryArchiveMiss, MTLPipelineOptionArgumentInfo,… |
|
||||
| `fragment-imageblock-reflection` | refused: the consumer's own (MTLComputePipelineReflection, MTLRenderPipelineReflection, MTLPipelineOptionFailOnBinaryArchiveMiss, MTLPipelineOptionArgumentInfo,… |
|
||||
| `fragment-imageblock-reflection` | refused: the consumer's own (MTLComputePipelineReflection, MTLRenderPipelineReflection, MTLPipelineOptionFailOnBinaryArchiveMiss, MTLPipelineOptionArgumentInfo,… |
|
||||
|
||||
@@ -162,10 +162,10 @@ RUNTIME_FLOOR = {
|
||||
"maxDescriptorSetUpdateAfterBindSampledImages": 131072,
|
||||
"maxPerStageDescriptorUpdateAfterBindStorageImages": 131072,
|
||||
"maxDescriptorSetUpdateAfterBindStorageImages": 131072,
|
||||
"maxPerStageDescriptorUpdateAfterBindSamplers": 12000,
|
||||
"maxDescriptorSetUpdateAfterBindSamplers": 12000,
|
||||
"maxPerStageDescriptorUpdateAfterBindSamplers": 24000,
|
||||
"maxDescriptorSetUpdateAfterBindSamplers": 24000,
|
||||
"maxPerStageUpdateAfterBindResources": 262152,
|
||||
"maxUpdateAfterBindDescriptorsInAllPools": 274144,
|
||||
"maxUpdateAfterBindDescriptorsInAllPools": 286144,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user