diff --git a/crates/metal2vulkan-conformance/known-gaps-rt.tsv b/crates/metal2vulkan-conformance/known-gaps-rt.tsv index 43a8ad554..18f27f149 100644 --- a/crates/metal2vulkan-conformance/known-gaps-rt.tsv +++ b/crates/metal2vulkan-conformance/known-gaps-rt.tsv @@ -145,11 +145,11 @@ border-swizzles-rgba8unorm NVIDIA divergent case/argb/zero-s-border-t-black/word border-swizzles-rgba8unorm NVIDIA divergent case/ga0r/black/words 4 elements differ (U32), the largest difference 1065353216 The device's own answer (rule 1), a known gap of the runtime (its README, Known gaps of textures): a runtime sampler of an opaque-black border, clamp to border on `s` and `t`, sampled past the texture's edge; the sample of a RGBA8Unorm texture under the `ga0r` swizzle, whose view's component mapping is not the identity, on a device that does not report `borderColorSwizzleFromImage` (the RTX 3090's driver does not): Vulkan leaves that border texel undefined, and the driver reads the opaque-black border as `(0, 0, 0, 1)` without the view's mapping, where Metal reads the border colour in the format's channels and then the swizzle. A sampler in the arrays meets every view, so no create info names the view's mapping. The first differing element is at [image 0, row 1, 9] (U32, byte 116): Metal 1065353216 (0x3f800000), ours 0 (0x0). Note `swizzled-opaque-black-border`. border-swizzles-rgba8unorm NVIDIA divergent case/ga0r/zero-black/words 4 elements differ (U32), the largest difference 1065353216 The device's own answer (rule 1), a known gap of the runtime (its README, Known gaps of textures): a runtime sampler of an opaque-black border, clamp to zero on `s` and `t`, sampled past the texture's edge; the sample of a RGBA8Unorm texture under the `ga0r` swizzle, whose view's component mapping is not the identity, on a device that does not report `borderColorSwizzleFromImage` (the RTX 3090's driver does not): Vulkan leaves that border texel undefined, and the driver reads the opaque-black border as `(0, 0, 0, 1)` without the view's mapping, where Metal reads the border colour in the format's channels and then the swizzle. A sampler in the arrays meets every view, so no create info names the view's mapping. The first differing element is at [image 0, row 1, 9] (U32, byte 116): Metal 1065353216 (0x3f800000), ours 0 (0x0). Note `swizzled-opaque-black-border`. border-swizzles-rgba8unorm NVIDIA divergent case/ga0r/zero-s-border-t-black/words 4 elements differ (U32), the largest difference 1065353216 The device's own answer (rule 1), a known gap of the runtime (its README, Known gaps of textures): a runtime sampler of an opaque-black border, clamp to zero on `s` and to border on `t`, sampled past the texture's edge; the sample of a RGBA8Unorm texture under the `ga0r` swizzle, whose view's component mapping is not the identity, on a device that does not report `borderColorSwizzleFromImage` (the RTX 3090's driver does not): Vulkan leaves that border texel undefined, and the driver reads the opaque-black border as `(0, 0, 0, 1)` without the view's mapping, where Metal reads the border colour in the format's channels and then the swizzle. A sampler in the arrays meets every view, so no create info names the view's mapping. The first differing element is at [image 0, row 1, 9] (U32, byte 116): Metal 1065353216 (0x3f800000), ours 0 (0x0). Note `swizzled-opaque-black-border`. -argument-encoder-array-element * refused case/pipeline Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -argument-encoder-mixed-descriptors * refused case/pipeline Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -argument-encoder-ranges * refused case/pipeline Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -argument-encoder-state-descriptors * refused case/pipeline Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -argument-encoder-texture-sampler * refused case/pipeline Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. +argument-encoder-array-element * refused case/encoder Err(Unavailable({call: "argument_encoder"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no argument encoder). The rt side of the suite answers `argument_encoder` Unavailable: rt has no counterpart of the call, and no replay stream makes it. +argument-encoder-mixed-descriptors * refused case/encoder Err(Unavailable({call: "argument_encoder_with_arguments"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no argument encoder). The rt side of the suite answers `argument_encoder_with_arguments` Unavailable: rt has no counterpart of the call, and no replay stream makes it. +argument-encoder-ranges * refused case/encoder Err(Unavailable({call: "argument_encoder"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no argument encoder). The rt side of the suite answers `argument_encoder` Unavailable: rt has no counterpart of the call, and no replay stream makes it. +argument-encoder-state-descriptors * refused case/encoder Err(Unavailable({call: "argument_encoder_with_arguments"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no argument encoder). The rt side of the suite answers `argument_encoder_with_arguments` Unavailable: rt has no counterpart of the call, and no replay stream makes it. +argument-encoder-texture-sampler * refused case/encoder Err(Unavailable({call: "argument_encoder"})) refused: no stream uses it yet (full selector census 11-19, m3-max-53207-53208, 53213, 53217-53221: 26 streams, no argument encoder). The rt side of the suite answers `argument_encoder` Unavailable: rt has no counterpart of the call, and no replay stream makes it. astc-10x10-ldr RX 550 refused case/zero-blocks/texture Err(Error::Unsupported("no texture of ASTC10x10LDR is made on this device for the usage")) The device's own answer (rule 2): this device's format queries offer no image of MTLPixelFormatASTC_10x10_LDR with the usage the case asks, so rt makes no such texture (Gap::TextureFormat, or the creator's NotMade). astc-10x10-srgb Iris(R) Xe divergent case/seeded-blocks/texels 324 elements differ (F32), the largest difference 0.001068115234375 The device's own answer (rule 1): ANV's decode of the case's sRGB blocks, read through the device's decode (notes `compressed-texel-decode` and `srgb-texel-decode`). The catalogue states compressed-texel-decode's bound for the linear forms; the sRGB forms' bound is unmeasured. Open: that bound. astc-10x10-srgb RX 550 refused case/zero-blocks/texture Err(Error::Unsupported("no texture of ASTC10x10SRGB is made on this device for the usage")) The device's own answer (rule 2): this device's format queries offer no image of MTLPixelFormatASTC_10x10_sRGB with the usage the case asks, so rt makes no such texture (Gap::TextureFormat, or the creator's NotMade). @@ -1303,33 +1303,193 @@ pipeline-options-compute-undefined-bit-3 * refused case/outcome Err(TheConsumers pipeline-options-compute-undefined-bit-31 * refused case/outcome 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. pipeline-options-compute-undefined-bit-40 * refused case/outcome 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. pipeline-options-render-undefined-bit-40 * refused case/outcome 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. -pixel-downscales-1000x1080 * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-downscales-1366x1080 * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-downscales-1440x1080 * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-downscales-1440x1152 * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-downscales-1536x1080 * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-downscales-1536x1152 * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-downscales-1920x1080 * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba16f-linear-border * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba16f-linear-edge * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba16f-linear-mirror * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba16f-linear-zero * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba16f-nearest-border * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba16f-nearest-edge * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba16f-nearest-mirror * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba16f-nearest-zero * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba8-linear-border * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba8-linear-edge * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba8-linear-mirror * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba8-linear-zero * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba8-nearest-border * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba8-nearest-edge * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba8-nearest-mirror * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-rgba8-nearest-zero * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-subnormal-border * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-subnormal-edge * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-subnormal-mirror * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. -pixel-samplers-subnormal-zero * refused case/pipeline/argument Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (an encoder value the function reads as ExecutionStatusAddress); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. +pixel-downscales-1000x1080 llvmpipe divergent case/output/frac/norm/digest the digest is 264ceee98d6179ad0db33d7a10d196da1c8db63673b939b97ad07d9f0dcb7716 on Metal and 5d64a9642dc61d423f57de864ce9146b20705bda466075d8184e60f995326fbe here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/frac/norm/head 996 elements differ (F32), the largest difference 0.0036765336990356445 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/frac/norm/tail 980 elements differ (F32), the largest difference 0.003676474094390869 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/frac/slot/digest the digest is 264ceee98d6179ad0db33d7a10d196da1c8db63673b939b97ad07d9f0dcb7716 on Metal and 3a7b1c90be5fbe6c56a01962c18e4f523ab6a214580921a623f39cc479a2f5e9 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/frac/slot/head 997 elements differ (F32), the largest difference 0.003921568393707275 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/frac/slot/tail 980 elements differ (F32), the largest difference 0.005392134189605713 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/grid/norm/digest the digest is 753599b580fcc1231f00e0642effc44f37955f75a7f16bb7a9d6647809548337 on Metal and bc18c64b2a7bc7e15ad218a491ccd99017d79e0c2f83618952f8bdce6efe5e72 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/grid/norm/head 882 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/grid/norm/tail 878 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/grid/slot/digest the digest is 753599b580fcc1231f00e0642effc44f37955f75a7f16bb7a9d6647809548337 on Metal and bc18c64b2a7bc7e15ad218a491ccd99017d79e0c2f83618952f8bdce6efe5e72 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/grid/slot/head 882 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/grid/slot/tail 878 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/ulp/norm/digest the digest is 753599b580fcc1231f00e0642effc44f37955f75a7f16bb7a9d6647809548337 on Metal and bc18c64b2a7bc7e15ad218a491ccd99017d79e0c2f83618952f8bdce6efe5e72 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/ulp/norm/head 882 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/ulp/norm/tail 878 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/ulp/slot/digest the digest is 753599b580fcc1231f00e0642effc44f37955f75a7f16bb7a9d6647809548337 on Metal and bc18c64b2a7bc7e15ad218a491ccd99017d79e0c2f83618952f8bdce6efe5e72 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/ulp/slot/head 882 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1000x1080 llvmpipe divergent case/output/ulp/slot/tail 878 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/frac/norm/digest the digest is caec2fd9f40845412cc4b24c5e57d6eeabcbefdb6699695dc4a600b506c2244b on Metal and 35d9bb3790a5895e965ddaebbe8c0df0f8e68acb11f2b9a022723983e0bd71c4 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/frac/norm/head 984 elements differ (F32), the largest difference 0.0036764442920684814 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/frac/norm/tail 992 elements differ (F32), the largest difference 0.003431349992752075 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/frac/slot/digest the digest is caec2fd9f40845412cc4b24c5e57d6eeabcbefdb6699695dc4a600b506c2244b on Metal and 33ccc30106de63f9644e15b1ace9b48ca9005063a9e95062f5ed9e90e2497792 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/frac/slot/head 984 elements differ (F32), the largest difference 0.0036764442920684814 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/frac/slot/tail 992 elements differ (F32), the largest difference 0.005147099494934082 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/grid/norm/digest the digest is 9857ff78b453810e4bcec887963d8251ef38d34500d278515a13ec047b4fc2cc on Metal and 7521a6636883ba4cf4fdc1d2f5a459f1ee3a0367c151ee05b6767662477e3263 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/grid/norm/head 880 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/grid/norm/tail 892 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/grid/slot/digest the digest is 9857ff78b453810e4bcec887963d8251ef38d34500d278515a13ec047b4fc2cc on Metal and 7521a6636883ba4cf4fdc1d2f5a459f1ee3a0367c151ee05b6767662477e3263 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/grid/slot/head 880 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/grid/slot/tail 892 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/ulp/norm/digest the digest is 9857ff78b453810e4bcec887963d8251ef38d34500d278515a13ec047b4fc2cc on Metal and 7521a6636883ba4cf4fdc1d2f5a459f1ee3a0367c151ee05b6767662477e3263 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/ulp/norm/head 880 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/ulp/norm/tail 892 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/ulp/slot/digest the digest is 9857ff78b453810e4bcec887963d8251ef38d34500d278515a13ec047b4fc2cc on Metal and 7521a6636883ba4cf4fdc1d2f5a459f1ee3a0367c151ee05b6767662477e3263 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/ulp/slot/head 880 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1366x1080 llvmpipe divergent case/output/ulp/slot/tail 892 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/frac/norm/digest the digest is fd36975bce4f3ede7a2c59afbd86c0691166679fc63791ba1cb086c99f3e2573 on Metal and cf481aa735efc3f4fe234dc4c7f4dfba84ff876cbef640e4a4945d8baab0e86b here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/frac/norm/head 993 elements differ (F32), the largest difference 0.003676474094390869 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/frac/norm/tail 985 elements differ (F32), the largest difference 0.0036764591932296753 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/frac/slot/digest the digest is fd36975bce4f3ede7a2c59afbd86c0691166679fc63791ba1cb086c99f3e2573 on Metal and 49d380382e231bca7d0c8aead37c8dd3a4c905f3562d01d4536ea43cedad89da here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/frac/slot/head 994 elements differ (F32), the largest difference 0.003921568393707275 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/frac/slot/tail 985 elements differ (F32), the largest difference 0.0036764591932296753 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/grid/norm/digest the digest is e15c34bb8f1ca197ae85f64c43ad4d18c866d8b9640cf478c8ce02e7e4cf7236 on Metal and 472e9efc6a6bdc5b5e04cf14acdeebcabd020925c5aa8ec69c548d183b745aa9 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/grid/norm/head 869 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/grid/norm/tail 887 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/grid/slot/digest the digest is e15c34bb8f1ca197ae85f64c43ad4d18c866d8b9640cf478c8ce02e7e4cf7236 on Metal and 472e9efc6a6bdc5b5e04cf14acdeebcabd020925c5aa8ec69c548d183b745aa9 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/grid/slot/head 869 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/grid/slot/tail 887 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/ulp/norm/digest the digest is e15c34bb8f1ca197ae85f64c43ad4d18c866d8b9640cf478c8ce02e7e4cf7236 on Metal and 472e9efc6a6bdc5b5e04cf14acdeebcabd020925c5aa8ec69c548d183b745aa9 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/ulp/norm/head 869 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/ulp/norm/tail 887 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/ulp/slot/digest the digest is e15c34bb8f1ca197ae85f64c43ad4d18c866d8b9640cf478c8ce02e7e4cf7236 on Metal and 472e9efc6a6bdc5b5e04cf14acdeebcabd020925c5aa8ec69c548d183b745aa9 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/ulp/slot/head 869 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1080 llvmpipe divergent case/output/ulp/slot/tail 887 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/frac/norm/digest the digest is aa690279b927f7b00810a4f688eba29d013e134b258b7730c08e07ef72343c0d on Metal and c594bdf1db227638515219dc8cb9c4a184acfa264164e88883b9c75ca1143003 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/frac/norm/head 993 elements differ (F32), the largest difference 0.003676474094390869 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/frac/norm/tail 984 elements differ (F32), the largest difference 0.0039215087890625 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/frac/slot/digest the digest is aa690279b927f7b00810a4f688eba29d013e134b258b7730c08e07ef72343c0d on Metal and 99cb759719b2ced3a21aecfa9022cb5004295d5b447a27026a1911cb1c057d8c here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/frac/slot/head 994 elements differ (F32), the largest difference 0.003921568393707275 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/frac/slot/tail 984 elements differ (F32), the largest difference 0.0039215087890625 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/grid/norm/digest the digest is b99e5cd231a628f1fcf76fe1668db429c2827eb7733a363ef9a3a406bd83a88b on Metal and 4dcf0e7b2c29eeb6d02967f051df7a9bedcc672423e53666a82d3c4c6997c636 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/grid/norm/head 869 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/grid/norm/tail 900 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/grid/slot/digest the digest is b99e5cd231a628f1fcf76fe1668db429c2827eb7733a363ef9a3a406bd83a88b on Metal and 4dcf0e7b2c29eeb6d02967f051df7a9bedcc672423e53666a82d3c4c6997c636 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/grid/slot/head 869 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/grid/slot/tail 900 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/ulp/norm/digest the digest is b99e5cd231a628f1fcf76fe1668db429c2827eb7733a363ef9a3a406bd83a88b on Metal and 4dcf0e7b2c29eeb6d02967f051df7a9bedcc672423e53666a82d3c4c6997c636 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/ulp/norm/head 869 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/ulp/norm/tail 900 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/ulp/slot/digest the digest is b99e5cd231a628f1fcf76fe1668db429c2827eb7733a363ef9a3a406bd83a88b on Metal and 4dcf0e7b2c29eeb6d02967f051df7a9bedcc672423e53666a82d3c4c6997c636 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/ulp/slot/head 869 elements differ (F32), the largest difference 0.003921598196029663 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1440x1152 llvmpipe divergent case/output/ulp/slot/tail 900 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/frac/norm/digest the digest is 6c9baf4f13010e70a06f1a1c5a82f9328fd681892d2cabdee00e2f5feb6b9d8f on Metal and 9f6725bd40980c3daa435a22fab2cd14c1e60a0fba4c54ea8431655afba8f3cf here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/frac/norm/head 988 elements differ (F32), the largest difference 0.003676474094390869 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/frac/norm/tail 976 elements differ (F32), the largest difference 0.003431379795074463 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/frac/slot/digest the digest is 6c9baf4f13010e70a06f1a1c5a82f9328fd681892d2cabdee00e2f5feb6b9d8f on Metal and dd4fc4772ed5735f104d803bfc44e7b584ff413bcbe7ff304392e68a8091d2b8 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/frac/slot/head 988 elements differ (F32), the largest difference 0.003676474094390869 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/frac/slot/tail 977 elements differ (F32), the largest difference 0.004166662693023682 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/grid/norm/digest the digest is 67e124800a21073ed1ed42534aa41ad81d37a759b62cd5fc57134fbcaf7bc32b on Metal and 8cf978e1b84d2a7db554cbd0bab0a3692eaeccd95b2ca57170a5c4d5375c1451 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/grid/norm/head 870 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/grid/norm/tail 901 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/grid/slot/digest the digest is 67e124800a21073ed1ed42534aa41ad81d37a759b62cd5fc57134fbcaf7bc32b on Metal and 8cf978e1b84d2a7db554cbd0bab0a3692eaeccd95b2ca57170a5c4d5375c1451 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/grid/slot/head 870 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/grid/slot/tail 901 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/ulp/norm/digest the digest is 67e124800a21073ed1ed42534aa41ad81d37a759b62cd5fc57134fbcaf7bc32b on Metal and 8cf978e1b84d2a7db554cbd0bab0a3692eaeccd95b2ca57170a5c4d5375c1451 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/ulp/norm/head 870 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/ulp/norm/tail 901 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/ulp/slot/digest the digest is 67e124800a21073ed1ed42534aa41ad81d37a759b62cd5fc57134fbcaf7bc32b on Metal and 8cf978e1b84d2a7db554cbd0bab0a3692eaeccd95b2ca57170a5c4d5375c1451 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/ulp/slot/head 870 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1080 llvmpipe divergent case/output/ulp/slot/tail 901 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/frac/norm/digest the digest is 810ec665b6fef8901c943b832632d1ae5e7dc6e05b54e7536429d9420a9d5a14 on Metal and 8b47ba29780ce026aae6766e81a0d3fac4a5605c850e7175c50ebf7e94a513a5 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/frac/norm/head 988 elements differ (F32), the largest difference 0.003676474094390869 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/frac/norm/tail 990 elements differ (F32), the largest difference 0.003676474094390869 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/frac/slot/digest the digest is 810ec665b6fef8901c943b832632d1ae5e7dc6e05b54e7536429d9420a9d5a14 on Metal and a4e686364a069f6a1af4c548092e494ce678a5cd4ad895f630a20aadeb3d4c73 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/frac/slot/head 988 elements differ (F32), the largest difference 0.003676474094390869 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/frac/slot/tail 990 elements differ (F32), the largest difference 0.003676474094390869 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/grid/norm/digest the digest is a5a6cb0f7fd6c18020b95b55ecdbb589fef8b15512e6c87c63a47f4fe64f0b92 on Metal and 90d82a8abc6752f7a47f7737a670dfc9084f4e48cee467338893ecc95f03d354 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/grid/norm/head 875 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/grid/norm/tail 896 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/grid/slot/digest the digest is a5a6cb0f7fd6c18020b95b55ecdbb589fef8b15512e6c87c63a47f4fe64f0b92 on Metal and 90d82a8abc6752f7a47f7737a670dfc9084f4e48cee467338893ecc95f03d354 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/grid/slot/head 875 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/grid/slot/tail 896 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/ulp/norm/digest the digest is a5a6cb0f7fd6c18020b95b55ecdbb589fef8b15512e6c87c63a47f4fe64f0b92 on Metal and 90d82a8abc6752f7a47f7737a670dfc9084f4e48cee467338893ecc95f03d354 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/ulp/norm/head 875 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/ulp/norm/tail 896 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/ulp/slot/digest the digest is a5a6cb0f7fd6c18020b95b55ecdbb589fef8b15512e6c87c63a47f4fe64f0b92 on Metal and 90d82a8abc6752f7a47f7737a670dfc9084f4e48cee467338893ecc95f03d354 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/ulp/slot/head 875 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1536x1152 llvmpipe divergent case/output/ulp/slot/tail 896 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/frac/norm/digest the digest is 71d2afefba11442056055f137daa6eb529172022ea43bf43431f258eeb7181ed on Metal and e34bb384264df4a8e58eeba63bc8e43d8c3c5c79ad5918f7b7c3548955035809 here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/frac/norm/head 990 elements differ (F32), the largest difference 0.003676488995552063 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/frac/norm/tail 982 elements differ (F32), the largest difference 0.0036765336990356445 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/frac/slot/digest the digest is 71d2afefba11442056055f137daa6eb529172022ea43bf43431f258eeb7181ed on Metal and af3717b7d311225894a0e0469bfe48630077cf2e7a4f485eeb3798ee7d20e3fb here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/frac/slot/head 990 elements differ (F32), the largest difference 0.004902005195617676 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/frac/slot/tail 982 elements differ (F32), the largest difference 0.0036765336990356445 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/grid/norm/digest the digest is 48d428cb1852e5e54ac020269ad34f361f3816bfa1975384e1c1e3bef1b03387 on Metal and 6c0afd2c73bda45de44f88b2fa4a6b05d11189e85b47cf10436a9c44ec54af7c here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/grid/norm/head 883 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/grid/norm/tail 905 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/grid/slot/digest the digest is 48d428cb1852e5e54ac020269ad34f361f3816bfa1975384e1c1e3bef1b03387 on Metal and 6c0afd2c73bda45de44f88b2fa4a6b05d11189e85b47cf10436a9c44ec54af7c here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/grid/slot/head 883 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/grid/slot/tail 905 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/ulp/norm/digest the digest is 48d428cb1852e5e54ac020269ad34f361f3816bfa1975384e1c1e3bef1b03387 on Metal and 6c0afd2c73bda45de44f88b2fa4a6b05d11189e85b47cf10436a9c44ec54af7c here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/ulp/norm/head 883 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/ulp/norm/tail 905 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/ulp/slot/digest the digest is 48d428cb1852e5e54ac020269ad34f361f3816bfa1975384e1c1e3bef1b03387 on Metal and 6c0afd2c73bda45de44f88b2fa4a6b05d11189e85b47cf10436a9c44ec54af7c here The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/ulp/slot/head 883 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-downscales-1920x1080 llvmpipe divergent case/output/ulp/slot/tail 905 elements differ (F32), the largest difference 0.003921627998352051 The device's own answer (rule 1), every source alike: the downscale's linear sample through the texture slot's runtime pixel sampler (`slot`) hands lavapipe's normalized sampler the coordinate over the size, and the argument buffer's normalized state (`norm`) reads the same texels, their digests equal at `grid` and `ulp`. Note `pixel-sampler-scaling`, whose recorded bound at these sizes on lavapipe is 2/255; the device's filter is its own (`device-sampling`). +pixel-samplers-rgba16f-linear-border llvmpipe divergent case/output/arg the digest is a33152229f2a9e0a2cedd5edd958a262c214bd5b4a682110837f3523a6fe5deb on Metal and 5f2e422783414f0441fa8b910cd36f5436691c4ce9d4106548574de31dcb6b60 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-border llvmpipe divergent case/output/const the digest is a33152229f2a9e0a2cedd5edd958a262c214bd5b4a682110837f3523a6fe5deb on Metal and 5f2e422783414f0441fa8b910cd36f5436691c4ce9d4106548574de31dcb6b60 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-border llvmpipe divergent case/output/norm the digest is a33152229f2a9e0a2cedd5edd958a262c214bd5b4a682110837f3523a6fe5deb on Metal and 5f2e422783414f0441fa8b910cd36f5436691c4ce9d4106548574de31dcb6b60 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-border llvmpipe divergent case/output/slot the digest is a33152229f2a9e0a2cedd5edd958a262c214bd5b4a682110837f3523a6fe5deb on Metal and 5f2e422783414f0441fa8b910cd36f5436691c4ce9d4106548574de31dcb6b60 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-edge llvmpipe divergent case/output/arg the digest is 7a6a5f64bc4531517ba0d4d4912c2d687ee0779777af9376c02b5e09f4af2421 on Metal and 50d151360bbbb1dd97754bc64a53cdea8c10c5cd6151614bb0b870fdab62c15f here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-edge llvmpipe divergent case/output/const the digest is 7a6a5f64bc4531517ba0d4d4912c2d687ee0779777af9376c02b5e09f4af2421 on Metal and 50d151360bbbb1dd97754bc64a53cdea8c10c5cd6151614bb0b870fdab62c15f here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-edge llvmpipe divergent case/output/norm the digest is 7a6a5f64bc4531517ba0d4d4912c2d687ee0779777af9376c02b5e09f4af2421 on Metal and 50d151360bbbb1dd97754bc64a53cdea8c10c5cd6151614bb0b870fdab62c15f here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-edge llvmpipe divergent case/output/slot the digest is 7a6a5f64bc4531517ba0d4d4912c2d687ee0779777af9376c02b5e09f4af2421 on Metal and 50d151360bbbb1dd97754bc64a53cdea8c10c5cd6151614bb0b870fdab62c15f here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-mirror llvmpipe divergent case/output/arg the digest is 24724e535ae68eaccd7460b0c8948ce18d3118bb92395b690d7c8918dc521e06 on Metal and f0a7f28a6c471e47b31f77cd59a7666ef50d419714cb58c4c62584e13396b4db here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-mirror llvmpipe divergent case/output/norm the digest is 24724e535ae68eaccd7460b0c8948ce18d3118bb92395b690d7c8918dc521e06 on Metal and f0a7f28a6c471e47b31f77cd59a7666ef50d419714cb58c4c62584e13396b4db here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-mirror llvmpipe divergent case/output/slot the digest is 24724e535ae68eaccd7460b0c8948ce18d3118bb92395b690d7c8918dc521e06 on Metal and f0a7f28a6c471e47b31f77cd59a7666ef50d419714cb58c4c62584e13396b4db here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-zero llvmpipe divergent case/output/arg the digest is a33152229f2a9e0a2cedd5edd958a262c214bd5b4a682110837f3523a6fe5deb on Metal and 5f2e422783414f0441fa8b910cd36f5436691c4ce9d4106548574de31dcb6b60 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-zero llvmpipe divergent case/output/const the digest is dbb87cfd8c4ab3c54dede294e5ebc42ad0a2fd84166cc1b46a33e3a3b61e1777 on Metal and dcafa32e15959b6d6ff87ac1adbd569e607e2b70b46c5b94f4433b0e33a61c22 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-zero llvmpipe divergent case/output/norm the digest is a33152229f2a9e0a2cedd5edd958a262c214bd5b4a682110837f3523a6fe5deb on Metal and 5f2e422783414f0441fa8b910cd36f5436691c4ce9d4106548574de31dcb6b60 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-linear-zero llvmpipe divergent case/output/slot the digest is a33152229f2a9e0a2cedd5edd958a262c214bd5b4a682110837f3523a6fe5deb on Metal and 5f2e422783414f0441fa8b910cd36f5436691c4ce9d4106548574de31dcb6b60 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba16f-nearest-mirror llvmpipe divergent case/output/norm the digest is fb1a84e8f744e0bd92aab91af807fe789fdf105b5ae8bd526fb427ef0d04409d on Metal and b7ae9327a782f44ca6cfe4b77178ee231700719a57282154cef820331210f709 here The device's own answer (rule 1): lavapipe's mirror clamp to edge at the normalized coordinates over the size. Our `norm` (an argument buffer's normalized nearest state) reads otherwise than our `slot` and `arg`, which read Metal's texels; `metal2vulkan-runtime`'s `every_device_samples_alike_through_an_argument_buffers_sampler_and_a_slots` reads that state alike through a sampler slot and an argument buffer at these coordinates. Note `device-sampling`. +pixel-samplers-rgba8-linear-border llvmpipe divergent case/output/arg the digest is 8640b83f43b188201afa3e7ed424318caa473f82511150f87921d8ac871eb157 on Metal and e3d46dca3d9e9e8a02104626468287d0002ba55c09b1ecce26dfb3b0337c5404 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-border llvmpipe divergent case/output/const the digest is 8640b83f43b188201afa3e7ed424318caa473f82511150f87921d8ac871eb157 on Metal and e3d46dca3d9e9e8a02104626468287d0002ba55c09b1ecce26dfb3b0337c5404 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-border llvmpipe divergent case/output/norm the digest is 8640b83f43b188201afa3e7ed424318caa473f82511150f87921d8ac871eb157 on Metal and e3d46dca3d9e9e8a02104626468287d0002ba55c09b1ecce26dfb3b0337c5404 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-border llvmpipe divergent case/output/slot the digest is 8640b83f43b188201afa3e7ed424318caa473f82511150f87921d8ac871eb157 on Metal and e3d46dca3d9e9e8a02104626468287d0002ba55c09b1ecce26dfb3b0337c5404 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-edge llvmpipe divergent case/output/arg the digest is 4c832fb335efa8b6f389e8a2b8a6721efff8bef2d0d933df0670336ee3841051 on Metal and b2f4efc2c14d766524cd814792c3b81ccf5703dfa20a721806e661b7ba08bdb2 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-edge llvmpipe divergent case/output/const the digest is 4c832fb335efa8b6f389e8a2b8a6721efff8bef2d0d933df0670336ee3841051 on Metal and b2f4efc2c14d766524cd814792c3b81ccf5703dfa20a721806e661b7ba08bdb2 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-edge llvmpipe divergent case/output/norm the digest is 4c832fb335efa8b6f389e8a2b8a6721efff8bef2d0d933df0670336ee3841051 on Metal and b2f4efc2c14d766524cd814792c3b81ccf5703dfa20a721806e661b7ba08bdb2 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-edge llvmpipe divergent case/output/slot the digest is 4c832fb335efa8b6f389e8a2b8a6721efff8bef2d0d933df0670336ee3841051 on Metal and b2f4efc2c14d766524cd814792c3b81ccf5703dfa20a721806e661b7ba08bdb2 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-mirror llvmpipe divergent case/output/arg the digest is 26940521965a1456adaba62f9dc004a9f27967fd355737d6efdca7c46209b80b on Metal and 753f7eda88c7b435befa74d74ec2465dd5ab51c38138b870b16593b6815d5f73 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-mirror llvmpipe divergent case/output/norm the digest is 26940521965a1456adaba62f9dc004a9f27967fd355737d6efdca7c46209b80b on Metal and 753f7eda88c7b435befa74d74ec2465dd5ab51c38138b870b16593b6815d5f73 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-mirror llvmpipe divergent case/output/slot the digest is 26940521965a1456adaba62f9dc004a9f27967fd355737d6efdca7c46209b80b on Metal and 753f7eda88c7b435befa74d74ec2465dd5ab51c38138b870b16593b6815d5f73 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-zero llvmpipe divergent case/output/arg the digest is 8640b83f43b188201afa3e7ed424318caa473f82511150f87921d8ac871eb157 on Metal and e3d46dca3d9e9e8a02104626468287d0002ba55c09b1ecce26dfb3b0337c5404 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-zero llvmpipe divergent case/output/const the digest is 8c8ebb90b930331d3790933171428b8edff1c8296f8bb344a6c06362dc382c83 on Metal and a771e8262614bd35cb8c507f58cb9683ca197457021bd1f37ed7c52f84998c88 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-zero llvmpipe divergent case/output/norm the digest is 8640b83f43b188201afa3e7ed424318caa473f82511150f87921d8ac871eb157 on Metal and e3d46dca3d9e9e8a02104626468287d0002ba55c09b1ecce26dfb3b0337c5404 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-linear-zero llvmpipe divergent case/output/slot the digest is 8640b83f43b188201afa3e7ed424318caa473f82511150f87921d8ac871eb157 on Metal and e3d46dca3d9e9e8a02104626468287d0002ba55c09b1ecce26dfb3b0337c5404 here The device's own answer (rule 1), every source alike: one digest across `slot`, `arg`, `norm` and `const`, as Metal's is one. lavapipe's linear filter at the case's sub-texel steps: note `device-sampling`, whose recorded bound for a linear filter on lavapipe is 1.0 code of 1/255. The site records a digest alone, so the run states no difference of its own. +pixel-samplers-rgba8-nearest-border llvmpipe divergent case/output/arg the digest is a0a4cd79e2609250f0131240bdb85e230771e5052b8ae7ed2f9af30c4a901a72 on Metal and 6333f6c5c4056f3df73d65c1d0fdca98f7896264b2204c509e454014f430ae64 here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-border llvmpipe divergent case/output/const the digest is a0a4cd79e2609250f0131240bdb85e230771e5052b8ae7ed2f9af30c4a901a72 on Metal and 6333f6c5c4056f3df73d65c1d0fdca98f7896264b2204c509e454014f430ae64 here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-border llvmpipe divergent case/output/norm the digest is a0a4cd79e2609250f0131240bdb85e230771e5052b8ae7ed2f9af30c4a901a72 on Metal and 6333f6c5c4056f3df73d65c1d0fdca98f7896264b2204c509e454014f430ae64 here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-border llvmpipe divergent case/output/slot the digest is a0a4cd79e2609250f0131240bdb85e230771e5052b8ae7ed2f9af30c4a901a72 on Metal and 6333f6c5c4056f3df73d65c1d0fdca98f7896264b2204c509e454014f430ae64 here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-edge llvmpipe divergent case/output/arg the digest is 250024876cde0c2f67dccea354f400d28c94b6cd9634aae0b38c6354f35070b7 on Metal and 0631f694a94fb6f7d83442a7e13675ce49a3a6fa14217138d72bcd7ef367ff86 here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-edge llvmpipe divergent case/output/const the digest is 250024876cde0c2f67dccea354f400d28c94b6cd9634aae0b38c6354f35070b7 on Metal and 0631f694a94fb6f7d83442a7e13675ce49a3a6fa14217138d72bcd7ef367ff86 here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-edge llvmpipe divergent case/output/norm the digest is 250024876cde0c2f67dccea354f400d28c94b6cd9634aae0b38c6354f35070b7 on Metal and 0631f694a94fb6f7d83442a7e13675ce49a3a6fa14217138d72bcd7ef367ff86 here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-edge llvmpipe divergent case/output/slot the digest is 250024876cde0c2f67dccea354f400d28c94b6cd9634aae0b38c6354f35070b7 on Metal and 0631f694a94fb6f7d83442a7e13675ce49a3a6fa14217138d72bcd7ef367ff86 here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-mirror llvmpipe divergent case/output/arg the digest is 27c2ee7d7782b153e1e9daa8f2e37dba6ad073e4dc1f08b6350634a0b66fdf32 on Metal and b2704167a12244b6899021468bae1a322ca593e5463c8361ebcae85ccb11bf4b here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-mirror llvmpipe divergent case/output/norm the digest is 27c2ee7d7782b153e1e9daa8f2e37dba6ad073e4dc1f08b6350634a0b66fdf32 on Metal and 3b527eabc3bf63d32dc5a7eb74d7269814960084b4838b014b2b1f04d9b02055 here The device's own answer (rule 1): lavapipe's mirror clamp to edge at the normalized coordinates over the size. Our `norm` (an argument buffer's normalized nearest state) reads otherwise than our `slot` and `arg`, which read Metal's texels; `metal2vulkan-runtime`'s `every_device_samples_alike_through_an_argument_buffers_sampler_and_a_slots` reads that state alike through a sampler slot and an argument buffer at these coordinates. Note `device-sampling`. +pixel-samplers-rgba8-nearest-mirror llvmpipe divergent case/output/slot the digest is 27c2ee7d7782b153e1e9daa8f2e37dba6ad073e4dc1f08b6350634a0b66fdf32 on Metal and b2704167a12244b6899021468bae1a322ca593e5463c8361ebcae85ccb11bf4b here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-zero llvmpipe divergent case/output/arg the digest is a0a4cd79e2609250f0131240bdb85e230771e5052b8ae7ed2f9af30c4a901a72 on Metal and 6333f6c5c4056f3df73d65c1d0fdca98f7896264b2204c509e454014f430ae64 here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-zero llvmpipe divergent case/output/const the digest is 4ce73456509dc569e5a67d724ecd5f2bea5dda4d8b7279b5f8e4a7351998c5be on Metal and e07f0109d4d14e93f61713251150ebb10eca6b356036457aeae59d4d99af4612 here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-zero llvmpipe divergent case/output/norm the digest is a0a4cd79e2609250f0131240bdb85e230771e5052b8ae7ed2f9af30c4a901a72 on Metal and 6333f6c5c4056f3df73d65c1d0fdca98f7896264b2204c509e454014f430ae64 here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-rgba8-nearest-zero llvmpipe divergent case/output/slot the digest is a0a4cd79e2609250f0131240bdb85e230771e5052b8ae7ed2f9af30c4a901a72 on Metal and 6333f6c5c4056f3df73d65c1d0fdca98f7896264b2204c509e454014f430ae64 here The device's own answer (rule 1), every source alike: one digest across the sources, as Metal's, where every `RGBA16Float` nearest source but the mirrored `norm` reads Metal's texels exactly. lavapipe converts an `RGBA8Unorm` code by the reciprocal: note `device-texel-conversion`, whose recorded bound is one `f32` ulp of Metal's `c / 255`. The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-border llvmpipe divergent case/output/arg the digest is 527c2d3be9d37505e6907a1303a4f8c6b432290236e2baae359b54fa908f931c on Metal and 195b8e80f6e42c1cc1e4091a31b6a00a38620d1e99aaa4f0a5505931f9b77a00 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-border llvmpipe divergent case/output/const the digest is 527c2d3be9d37505e6907a1303a4f8c6b432290236e2baae359b54fa908f931c on Metal and 195b8e80f6e42c1cc1e4091a31b6a00a38620d1e99aaa4f0a5505931f9b77a00 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-border llvmpipe divergent case/output/norm the digest is b30d65a5b6c3adc9ccc52e398c23da742007c7663d6cfbb22c308e8b024dd9fd on Metal and 3a540b3ab22cd6439a2a70d799a84132af84526a78ab31fca25780b6c4c86174 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-border llvmpipe divergent case/output/slot the digest is 527c2d3be9d37505e6907a1303a4f8c6b432290236e2baae359b54fa908f931c on Metal and 195b8e80f6e42c1cc1e4091a31b6a00a38620d1e99aaa4f0a5505931f9b77a00 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-edge llvmpipe divergent case/output/arg the digest is b30d65a5b6c3adc9ccc52e398c23da742007c7663d6cfbb22c308e8b024dd9fd on Metal and 3a540b3ab22cd6439a2a70d799a84132af84526a78ab31fca25780b6c4c86174 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-edge llvmpipe divergent case/output/const the digest is b30d65a5b6c3adc9ccc52e398c23da742007c7663d6cfbb22c308e8b024dd9fd on Metal and 3a540b3ab22cd6439a2a70d799a84132af84526a78ab31fca25780b6c4c86174 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-edge llvmpipe divergent case/output/norm the digest is b30d65a5b6c3adc9ccc52e398c23da742007c7663d6cfbb22c308e8b024dd9fd on Metal and 3a540b3ab22cd6439a2a70d799a84132af84526a78ab31fca25780b6c4c86174 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-edge llvmpipe divergent case/output/slot the digest is b30d65a5b6c3adc9ccc52e398c23da742007c7663d6cfbb22c308e8b024dd9fd on Metal and 3a540b3ab22cd6439a2a70d799a84132af84526a78ab31fca25780b6c4c86174 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-mirror llvmpipe divergent case/output/arg the digest is b30d65a5b6c3adc9ccc52e398c23da742007c7663d6cfbb22c308e8b024dd9fd on Metal and 3a540b3ab22cd6439a2a70d799a84132af84526a78ab31fca25780b6c4c86174 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-mirror llvmpipe divergent case/output/norm the digest is b30d65a5b6c3adc9ccc52e398c23da742007c7663d6cfbb22c308e8b024dd9fd on Metal and 3a540b3ab22cd6439a2a70d799a84132af84526a78ab31fca25780b6c4c86174 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-mirror llvmpipe divergent case/output/slot the digest is b30d65a5b6c3adc9ccc52e398c23da742007c7663d6cfbb22c308e8b024dd9fd on Metal and 3a540b3ab22cd6439a2a70d799a84132af84526a78ab31fca25780b6c4c86174 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-zero llvmpipe divergent case/output/arg the digest is 527c2d3be9d37505e6907a1303a4f8c6b432290236e2baae359b54fa908f931c on Metal and 195b8e80f6e42c1cc1e4091a31b6a00a38620d1e99aaa4f0a5505931f9b77a00 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-zero llvmpipe divergent case/output/const the digest is d2b0dd0910609edc836eaf77d970e58e8b5bf1584a81e5bbdd581f10260b7c09 on Metal and 3cd68225ecf825024f7bc75bb6318d367d514eb2a722c30f35fa16240a59742a here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-zero llvmpipe divergent case/output/norm the digest is b30d65a5b6c3adc9ccc52e398c23da742007c7663d6cfbb22c308e8b024dd9fd on Metal and 3a540b3ab22cd6439a2a70d799a84132af84526a78ab31fca25780b6c4c86174 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. +pixel-samplers-subnormal-zero llvmpipe divergent case/output/slot the digest is 527c2d3be9d37505e6907a1303a4f8c6b432290236e2baae359b54fa908f931c on Metal and 195b8e80f6e42c1cc1e4091a31b6a00a38620d1e99aaa4f0a5505931f9b77a00 here The device's own answer (rule 1), every source alike: one digest per answer across the sources, as Metal's. lavapipe converts the `RGBA8Unorm` texture's codes by the reciprocal (note `device-texel-conversion`, one `f32` ulp of Metal's `c / 255`) and reads a subnormal coordinate by its own float controls (`device-denormals`, `device-sampling`). The site records a digest alone, so the run names no coordinate. read-through-a8 * refused case/pipeline/rt_zero Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (texture argument SlotRef { stage: Kernel, class: Texture, index: 0 }: a type the identity arrays hold no element of, or state of the bound texture beyond its resource ID); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. read-through-half * refused case/pipeline/rt_half Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (texture argument SlotRef { stage: Kernel, class: Texture, index: 0 }: a type the identity arrays hold no element of, or state of the bound texture beyond its resource ID); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. read-through-heap-border * refused case/pipeline/rt_heap_ow Err(Error::Translation("the translator made no pipeline: unsupported: IdentityDomains (a texture handle that reads its table entry beyond its element (Indexed { alpha: false, class: false, red_blue: false, unreadable: false })); needs NotImplemented")) refused: no stream uses it yet (states-only play 11-19, m3-max-56371-56373, 56375, player 44668b439f: 32 streams, every render and compute pipeline state made). The translator refuses the state (IdentityDomains: a form the identity domains do not lower); rt README, Known gaps of pipeline states. diff --git a/crates/metal2vulkan-conformance/src/cases/pixel_samplers.rs b/crates/metal2vulkan-conformance/src/cases/pixel_samplers.rs index 35df8c9ab..8a80a2482 100644 --- a/crates/metal2vulkan-conformance/src/cases/pixel_samplers.rs +++ b/crates/metal2vulkan-conformance/src/cases/pixel_samplers.rs @@ -29,7 +29,8 @@ //! `slot` or `arg` site hands it the coordinate divided by the size, which the device's sampler //! reads in its own arithmetic: at a sub-texel step it may read the neighbouring step, which the //! runtime announces on every device (`pixel-sampler-scaling`, and -//! `argument-pixel-sampler-scaling` for `arg`). A device that converts an 8-bit texel to a float +//! `argument-pixel-sampler-scaling` for `arg`). The `slot` site announces it under a nearest +//! state too, as the function does not know the bound state. A device that converts an 8-bit texel to a float //! its own way announces `float-sample-filter`. //! Each notice is declared at the notices site alone, so a texel that differs still fails the case //! where it differs, and is a `known-gaps-rt.tsv` row naming the note. @@ -528,24 +529,22 @@ impl Case for PixelSamplers { fn allowances(&self) -> Vec { // Metal announces nothing, so a notice of ours is a difference at the notices site. - // Every venue hands a linear `slot` site's sampler the pixel coordinate divided by the - // size (`pixel-sampler-scaling`); a nearest one reads its texel's centre and announces - // nothing. The `arg` site's state is unknown where the shader is made, so it announces - // `argument-pixel-sampler-scaling` whatever its filter. A venue that announces another - // kind reads as divergent at that site until whoever adds the venue names it with a run - // behind it. The device's own conversion of a texel, its filter and its sRGB decode are - // native notes the suite declares for every case (`crate::replay::NATIVE_NOTES`). + // The `slot` site's state is the bound one, which the function does not know, so it + // announces `pixel-sampler-scaling` whatever its filter, nearest included + // (`crate::replay::pixel_sampler_scaling_notice` holds why); measured through the rt side + // on lavapipe (Mesa 26.2.4), every nearest case announced it. The `arg` site's state is + // unknown where the shader is made too, so it announces `argument-pixel-sampler-scaling` + // whatever its filter. A venue that announces another kind reads as divergent at that site + // until whoever adds the venue names it with a run behind it. The device's own conversion + // of a texel, its filter and its sRGB decode are native notes the suite declares for every + // case (`crate::replay::NATIVE_NOTES`). // // **Each is a declaration and loosens nothing.** Each sits at the notices site alone, so // a texel that differs still fails the case wherever it differs. - let scaled = (self.filter == SamplerMinMagFilter::Linear) - .then(|| notice_allowance(Degradation::PixelSamplerScaling.code())); - scaled - .into_iter() - .chain([notice_allowance( - Degradation::ArgumentPixelSamplerScaling.code(), - )]) - .collect() + vec![ + crate::replay::pixel_sampler_scaling_notice(), + notice_allowance(Degradation::ArgumentPixelSamplerScaling.code()), + ] } fn run(&self, side: &mut dyn Side, sites: &mut Sites) -> Result<(), Abort> { diff --git a/crates/metal2vulkan-runtime/README.md b/crates/metal2vulkan-runtime/README.md index 229fa7484..d75479a82 100644 --- a/crates/metal2vulkan-runtime/README.md +++ b/crates/metal2vulkan-runtime/README.md @@ -1526,8 +1526,9 @@ made, with no lock, and never rewritten for layouts. Once its last handle and the last command buffer that used it are gone, its elements read the defaults again and its index is free; a device sampler no other state holds goes to the reaper. - Anisotropy is the device's own filter (`samplerAnisotropy` is in the floor). A cubic filter is - `Gap::CubicSampler`. A descriptor the translator makes no device sampler of is - `Error::Translation`. + `Gap::CubicSampler`: the runtime makes no cubic sampler, so no live sampler's resource ID carries + the sampler word's cubic bit (30), and a shader does not test an argument buffer's sampler for + it. A descriptor the translator makes no device sampler of is `Error::Translation`. - A state bound with LOD clamps (`set_sampler_state_with_lod_clamps`, and the render encoder's `set_vertex_sampler_state_with_lod_clamps` and `set_fragment_sampler_state_with_lod_clamps`: Metal's `lodMinClamp:lodMaxClamp:` forms, whose range forms are loops of them) is bound as it @@ -1936,11 +1937,11 @@ while the driver's exit handler waited on a lock, with every runtime thread alre - No guest word indexes a set 1 array past its length. A slot's texture or sampler, and a constexpr sampler, are read at the runtime's own placement (texture indices 1 to 65,535, sampler indices 1 to 3,999; a placement outside them is refused). An argument buffer's texture is read at - its resource ID's index masked to its low 16 bits, read or sampled, so a bad ID reads an element - of the arrays, never one past them; an argument buffer's sampler is refused at the pipeline's - make. Metal leaves a resource ID that names no live resource of the access undefined: an index - within an array that no live object owns reads its null descriptor or default sampler, with no - fault. + its resource ID's index masked to its low 16 bits, read or sampled, and an argument buffer's + sampler at its resource ID's index where that is below 4,000 and at element 0 (the default + sampler) otherwise, so a bad ID reads an element of the arrays, never one past them. Metal leaves + a resource ID that names no live resource of the access undefined: an index within an array that + no live object owns reads its null descriptor or default sampler, with no fault. - An indirect dispatch's threadgroup counts are the GPU's to read, so a count above the device's `maxComputeWorkGroupCount` is not refused; Vulkan leaves such a dispatch undefined. A direct dispatch past it is split into dispatches of at most that many, each told its first @@ -2502,7 +2503,6 @@ or does not check is rebuilt from the generations' names, with young counted ful - a sample or gather of an argument buffer's color texture with a `half` result on a device that samples through Metal's own sampler (`VkProperty::MetalSampler`), which no device's derivation states: no test; - - an argument buffer's sampler: no test yet; - a bicubic sample at pixel coordinates ("a bicubic filter at pixel coordinates") and one of a 1D texture ("a bicubic filter of a 1D texture"): the translator test `a_bicubic_kernel_reads_each_slots_format_treatment_from_its_pushed_field` asserts each text; diff --git a/crates/metal2vulkan-runtime/src/tests/argument_sampling.rs b/crates/metal2vulkan-runtime/src/tests/argument_sampling.rs index df5656ec6..407c63945 100644 --- a/crates/metal2vulkan-runtime/src/tests/argument_sampling.rs +++ b/crates/metal2vulkan-runtime/src/tests/argument_sampling.rs @@ -2,9 +2,14 @@ //! the cfg's kind: `examples/heap_samples`' `hs_sample` samples a `half` and a `float` texture its //! argument buffer holds through a constexpr nearest sampler, at the index the consumer gives it, //! and through a nearest sampler state bound at a sampler slot. Each thread samples one texel at its -//! centre, and every answer is that texel's exact value. +//! centre, and every answer is that texel's exact value. `engine/tail_argument_samplers`' +//! `argument_sampler_edges` samples a texture through the sampler its argument buffer holds beside +//! it, at texel edges, so a linear sampler's answer differs from the default sampler's. +//! `engine/px_samplers`' `px_sample_argument` and `engine/xr_samples`' `xr_sample_runtime` sample +//! one texture through one normalized sampler state held in an argument buffer and bound at a +//! sampler slot, which read the same texels. //! -//! `llvm-as` assembles the kernel; without it the test skips visibly. +//! `llvm-as` assembles the kernels; without it the tests skip visibly. #[cfg(any(m2v_gpu, m2v_cpu_icd))] mod on_device { @@ -46,43 +51,43 @@ mod on_device { -1.5 - (4 * i + c) as f32 } - /// The `hs_sample` kernel's library, or None where `llvm-as` is missing. - fn library() -> Option { - match llvm_assemble(&fixtures_dir().join("examples/heap_samples.ll")) { + /// The library of fixture `path`, or None where `llvm-as` is missing. + fn library(path: &str) -> Option { + match llvm_assemble(&fixtures_dir().join(path)) { Ok(bitcode) => Some(Library::from_air(&bitcode).expect("the library")), Err(AssembleError::Missing(why)) => { eprintln!("SKIPPED: {why}"); None } - Err(error) => panic!("heap_samples.ll: {error:?}"), + Err(error) => panic!("{path}: {error:?}"), } } - /// A 2D texture of `format` (`texel` bytes a texel), `SIDE` a side, shader-read, at texture + /// A 2D texture of `format` (`texel` bytes a texel), `side` a side, shader-read, at texture /// index `index`, its bytes `bytes` row by row. fn texture( name: &str, device: &Device, (format, texel): (PixelFormat, u64), - index: u32, + (index, side): (u32, u32), bytes: &[u8], ) -> Texture { - let mut d = TextureDescriptor::new(TextureType::Type2D, format, SIDE, SIDE); + let mut d = TextureDescriptor::new(TextureType::Type2D, format, side, side); d.usage = TextureUsage::SHADER_READ; let texture = (device.new_texture(&d, Some(index))).unwrap_or_else(|error| panic!("{name}: {error}")); let whole = Region { origin: [0; 3], - size: [SIDE, SIDE, 1], + size: [side, side, 1], }; - let row = u64::from(SIDE) * texel; + let row = u64::from(side) * texel; (texture.replace_region( whole, 0, 0, crate::HostBytes::from(bytes), row, - row * u64::from(SIDE), + row * u64::from(side), )) .unwrap_or_else(|error| panic!("{name}: {error}")); texture @@ -113,7 +118,7 @@ mod on_device { /// nearest sampler state at slot 0, and writes the four answers: each is the texel. #[test] fn every_device_samples_an_argument_buffers_textures_through_slot_and_constexpr_samplers() { - let Some(library) = library() else { + let Some(library) = library("examples/heap_samples.ll") else { return; }; each_device("argument_sampling", |name, _, device| { @@ -146,8 +151,20 @@ mod on_device { .flat_map(|i| (0..4).map(move |c| float_at(i, c))) .flat_map(f32::to_le_bytes) .collect(); - let h = texture(name, &device, (PixelFormat::RGBA16Float, 8), 1, &halves); - let f = texture(name, &device, (PixelFormat::RGBA32Float, 16), 2, &floats); + let h = texture( + name, + &device, + (PixelFormat::RGBA16Float, 8), + (1, SIDE), + &halves, + ); + let f = texture( + name, + &device, + (PixelFormat::RGBA32Float, 16), + (2, SIDE), + &floats, + ); let sampler = (device.new_sampler_state(&SamplerDescriptor::new(), SLOT_SAMPLER)) .unwrap_or_else(|error| panic!("{name}: {error}")); let block = (device.take_block(MemoryClass::Shared, 65_536)).expect("a Shared block"); @@ -194,4 +211,341 @@ mod on_device { ); }); } + + /// Each thread `g` of `argument_sampler_edges` samples the 4 by 4 texture its argument buffer + /// holds, whose texel `(x, y)` has red `x + 4y`, at normalized `(g / 4, g / 4)`, a texel edge, + /// through the sampler the argument buffer holds beside it. Through a linear sampler state at + /// its own index each answer averages the four texels around the edge, clamped at the texture's + /// edge for `g` 0: red 0, 2.5, 7.5, 12.5. Through a resource ID with that state's word and index + /// 4,000, one past the sampler arrays, each samples through element 0, the default nearest + /// sampler: red `5g`, the texel past the edge. + #[test] + fn every_device_samples_an_argument_buffers_texture_through_its_own_sampler() { + use crate::SamplerMinMagFilter; + const EDGE_SIDE: u32 = 4; + let Some(library) = library("engine/tail_argument_samplers.ll") else { + return; + }; + each_device("argument_sampling", |name, _, device| { + let grants = [ + (IndexClass::Texture, 1), + (IndexClass::Sampler, SLOT_SAMPLER), + ] + .map(|(class, first)| { + (device.grant_indices(class, first, 1)) + .unwrap_or_else(|error| panic!("{name}: {error}")) + }); + let function = library + .function("argument_sampler_edges") + .expect("the kernel"); + let descriptor = ComputePipelineDescriptor::new(StageSource::Function( + FunctionDescriptor::new(function), + )); + let state = (device.new_compute_pipeline_state(&descriptor, |samplers| { + assert!(samplers.is_empty(), "{name}: {samplers:?}"); + Ok(Vec::new()) + })) + .unwrap_or_else(|error| panic!("{name}: argument_sampler_edges: {error}")); + let texels: Vec = (0..EDGE_SIDE * EDGE_SIDE) + .flat_map(|i| [i as f32, 0.0, 0.0, 1.0]) + .flat_map(f32::to_le_bytes) + .collect(); + let t = texture( + name, + &device, + (PixelFormat::RGBA32Float, 16), + (1, EDGE_SIDE), + &texels, + ); + let mut linear = SamplerDescriptor::new(); + linear.min_filter = SamplerMinMagFilter::Linear; + linear.mag_filter = SamplerMinMagFilter::Linear; + let sampler = (device.new_sampler_state(&linear, SLOT_SAMPLER)) + .unwrap_or_else(|error| panic!("{name}: {error}")); + let id = sampler.gpu_resource_id().to_bits(); + assert_eq!(id & 0xffff_ffff, u64::from(SLOT_SAMPLER), "{name}"); + let past = (id & !0xffff_ffff) | 4_000; + let block = (device.take_block(MemoryClass::Shared, 65_536)).expect("a Shared block"); + let material = |sampler: u64| -> Vec { + let mut bytes = t.gpu_resource_id().to_bits().to_le_bytes().to_vec(); + bytes.extend(sampler.to_le_bytes()); + bytes + }; + let held = [id, past] + .iter() + .enumerate() + .map(|(k, s)| shared(&device, &block, 256 * k as u64, &material(*s))) + .collect::>(); + let outs = (0..2) + .map(|k| shared(&device, &block, 1024 + 256 * k, &[0; 64])) + .collect::>(); + let queue = device.new_command_queue(1).expect("a queue"); + let command_buffer = queue.command_buffer().expect("a command buffer"); + let mut encoder = + (command_buffer.compute_command_encoder(DispatchType::Serial)).expect("an encoder"); + encoder.set_compute_pipeline_state(&state).expect("a state"); + (encoder.use_resource(Resource::Texture(&t), ResourceUsage::READ)).expect("a texture"); + for (held, out) in held.iter().zip(&outs) { + encoder.set_buffer(Some(held), 0, 0).expect("held"); + encoder.set_buffer(Some(out), 0, 1).expect("out"); + (encoder.dispatch_threadgroups([1, 1, 1], [EDGE_SIDE, 1, 1])) + .unwrap_or_else(|error| panic!("{name}: {error}")); + } + encoder.end_encoding(); + command_buffer.commit().expect("a commit"); + finished(name, &command_buffer); + assert_eq!(command_buffer.error(), None, "{name}"); + assert_eq!( + float4s(&outs[0], 4), + [0.0, 2.5, 7.5, 12.5].map(|r| [r, 0.0, 0.0, 1.0]), + "{name}: through the linear sampler's resource ID" + ); + assert_eq!( + float4s(&outs[1], 4), + [0.0, 5.0, 10.0, 15.0].map(|r| [r, 0.0, 0.0, 1.0]), + "{name}: through a resource ID whose index is past the sampler arrays" + ); + drop((command_buffer, queue, state, sampler, t)); + for grant in grants { + (device.release_indices(grant)).unwrap_or_else(|error| panic!("{name}: {error}")); + } + println!( + "{name}: an argument buffer's texture sampled through the argument buffer's sampler" + ); + }); + } + + /// The conformance case `pixel-samplers`' coordinates over its 5 by 3 texture: per integer + /// from -1 to 6 the texel edge and one ulp either side, `i + 1/512`, the quarter, the centre + /// and one ulp either side, three quarters and `255/256`, across ten rows from -0.5 to 3.25, + /// each divided by the size. + fn normalized_grid(width: u32, height: u32) -> Vec<[f32; 2]> { + let mut xs = Vec::new(); + for i in -1..=(width as i32 + 1) { + let (b, h) = (i as f32, i as f32 + 0.5); + let (lo, hi) = match i { + 0 => (-(2f32.powi(-24)), 2f32.powi(-24)), + _ => (b.next_down(), b.next_up()), + }; + xs.extend([ + lo, + b, + hi, + b + 2f32.powi(-9), + b + 0.25, + h.next_down(), + h, + h.next_up(), + b + 0.75, + b + 255.0 / 256.0, + ]); + } + let ys = [ + -0.5, + 0.0, + 0.5, + 1f32.next_down(), + 1.0, + 1.25, + 1.5f32.next_up(), + 2.5, + 3.0, + 3.25, + ]; + (ys.iter()) + .flat_map(|&y| { + xs.iter() + .map(move |&x| [x / width as f32, y / height as f32]) + }) + .collect() + } + + /// One `RGBA32Float` texture of 5 by 3 texels, `100x + 10y + c` in channel `c`, sampled at the + /// conformance case `pixel-samplers`' 800 coordinates over its size ([`normalized_grid`]) + /// through one normalized nearest sampler state under each address mode that case asks + /// (clamp to edge, to zero, to an opaque white border, and mirror clamp to edge): bound at + /// sampler slot 0 beside texture slot 0 (`xr_samples`' `xr_sample_runtime`), and held in an + /// argument buffer beside the texture (`px_samplers`' `px_sample_argument`). The two read the + /// same texels, bit for bit, at every coordinate under every mode. + #[test] + fn every_device_samples_alike_through_an_argument_buffers_sampler_and_a_slots() { + use crate::{SamplerAddressMode, SamplerBorderColor}; + const WIDTH: u32 = 5; + const HEIGHT: u32 = 3; + let (Some(slots), Some(arguments)) = ( + library("engine/xr_samples.ll"), + library("engine/px_samplers.ll"), + ) else { + return; + }; + let modes = [ + SamplerAddressMode::ClampToEdge, + SamplerAddressMode::ClampToZero, + SamplerAddressMode::ClampToBorderColor, + SamplerAddressMode::MirrorClampToEdge, + ]; + let uv = normalized_grid(WIDTH, HEIGHT); + let count = uv.len(); + each_device("argument_sampling", |name, _, device| { + let grants = [ + (IndexClass::Texture, 1, 1), + (IndexClass::Sampler, SLOT_SAMPLER, 4), + ] + .map(|(class, first, n)| { + (device.grant_indices(class, first, n)) + .unwrap_or_else(|error| panic!("{name}: {error}")) + }); + let state = |library: &Library, entry: &str| { + let function = library.function(entry).expect("the kernel"); + let descriptor = ComputePipelineDescriptor::new(StageSource::Function( + FunctionDescriptor::new(function), + )); + (device.new_compute_pipeline_state(&descriptor, |samplers| { + assert!(samplers.is_empty(), "{name}: {entry}: {samplers:?}"); + Ok(Vec::new()) + })) + .unwrap_or_else(|error| panic!("{name}: {entry}: {error}")) + }; + let (slot_state, argument_state) = ( + state(&slots, "xr_sample_runtime"), + state(&arguments, "px_sample_argument"), + ); + let texels: Vec = (0..HEIGHT) + .flat_map(|y| (0..WIDTH).map(move |x| (x, y))) + .flat_map(|(x, y)| (0..4).map(move |c| (100 * x + 10 * y + c) as f32)) + .flat_map(f32::to_le_bytes) + .collect(); + let mut d = TextureDescriptor::new( + TextureType::Type2D, + PixelFormat::RGBA32Float, + WIDTH, + HEIGHT, + ); + d.usage = TextureUsage::SHADER_READ; + let t = + (device.new_texture(&d, Some(1))).unwrap_or_else(|error| panic!("{name}: {error}")); + let whole = Region { + origin: [0; 3], + size: [WIDTH, HEIGHT, 1], + }; + let row = u64::from(WIDTH) * 16; + (t.replace_region( + whole, + 0, + 0, + crate::HostBytes::from(&texels[..]), + row, + row * u64::from(HEIGHT), + )) + .unwrap_or_else(|error| panic!("{name}: {error}")); + let samplers: Vec<_> = (modes.iter().zip(SLOT_SAMPLER..)) + .map(|(mode, index)| { + let mut s = SamplerDescriptor::new(); + (s.s_address_mode, s.t_address_mode, s.r_address_mode) = (*mode, *mode, *mode); + s.border_color = SamplerBorderColor::OpaqueWhite; + (device.new_sampler_state(&s, index)) + .unwrap_or_else(|error| panic!("{name}: {mode:?}: {error}")) + }) + .collect(); + let block = (device.take_block(MemoryClass::Shared, 1 << 20)).expect("a Shared block"); + let coordinates: Vec = (uv.iter()) + .flat_map(|[u, v]| [*u, *v]) + .flat_map(f32::to_le_bytes) + .collect(); + let held_uv = shared(&device, &block, 0, &coordinates); + let out_bytes = 16 * count as u64; + let outs: Vec<[Buffer; 2]> = (0..modes.len() as u64) + .map(|k| { + let at = 65_536 + 2 * k * out_bytes.next_multiple_of(256); + let next = at + out_bytes.next_multiple_of(256); + let blank = vec![0xab; out_bytes as usize]; + [ + shared(&device, &block, at, &blank), + shared(&device, &block, next, &blank), + ] + }) + .collect(); + let materials: Vec = (samplers.iter().enumerate()) + .map(|(k, s)| { + let mut bytes = t.gpu_resource_id().to_bits().to_le_bytes().to_vec(); + bytes.extend(s.gpu_resource_id().to_bits().to_le_bytes()); + shared(&device, &block, 32_768 + 256 * k as u64, &bytes) + }) + .collect(); + let queue = device.new_command_queue(1).expect("a queue"); + let command_buffer = queue.command_buffer().expect("a command buffer"); + let mut encoder = + (command_buffer.compute_command_encoder(DispatchType::Serial)).expect("an encoder"); + encoder.set_buffer(Some(&held_uv), 0, 0).expect("uv"); + (encoder.use_resource(Resource::Texture(&t), ResourceUsage::READ)).expect("a texture"); + let groups = [(count as u32).div_ceil(32), 1, 1]; + for ((sampler, material), [slot_out, argument_out]) in + samplers.iter().zip(&materials).zip(&outs) + { + encoder + .set_compute_pipeline_state(&slot_state) + .expect("a state"); + encoder.set_texture(Some(&t), 0).expect("the texture"); + (encoder.set_sampler_state(Some(sampler), 0)).expect("the sampler"); + encoder.set_buffer(Some(slot_out), 0, 1).expect("out"); + (encoder.dispatch_threadgroups(groups, [32, 1, 1])) + .unwrap_or_else(|error| panic!("{name}: {error}")); + encoder + .set_compute_pipeline_state(&argument_state) + .expect("a state"); + encoder + .set_buffer(Some(material), 0, 2) + .expect("the material"); + encoder.set_buffer(Some(argument_out), 0, 1).expect("out"); + (encoder.dispatch_threadgroups(groups, [32, 1, 1])) + .unwrap_or_else(|error| panic!("{name}: {error}")); + } + encoder.end_encoding(); + command_buffer.commit().expect("a commit"); + finished(name, &command_buffer); + assert_eq!(command_buffer.error(), None, "{name}"); + for (mode, [slot_out, argument_out]) in modes.iter().zip(&outs) { + let bits = |b: &Buffer| -> Vec<[u32; 4]> { + float4s(b, count) + .iter() + .map(|t| t.map(f32::to_bits)) + .collect() + }; + let (slot, argument) = (bits(slot_out), bits(argument_out)); + let differing: Vec<_> = (0..count) + .filter(|&g| slot[g] != argument[g]) + .map(|g| { + ( + uv[g], + slot[g].map(f32::from_bits), + argument[g].map(f32::from_bits), + ) + }) + .collect(); + assert!( + differing.is_empty(), + "{name}: {mode:?}: {} of {count} coordinates differ, the first (uv, slot, \ + argument buffer) {:?}", + differing.len(), + differing.first() + ); + } + drop(( + command_buffer, + queue, + slot_state, + argument_state, + samplers, + t, + )); + for grant in grants { + (device.release_indices(grant)).unwrap_or_else(|error| panic!("{name}: {error}")); + } + println!( + "{name}: one texture sampled alike through an argument buffer's sampler and a \ + slot's, under {} address modes at {count} coordinates", + modes.len() + ); + }); + } } diff --git a/crates/metal2vulkan-validation/src/candidate/tests/engine_textures.rs b/crates/metal2vulkan-validation/src/candidate/tests/engine_textures.rs index 7b8515049..20d264a6f 100644 --- a/crates/metal2vulkan-validation/src/candidate/tests/engine_textures.rs +++ b/crates/metal2vulkan-validation/src/candidate/tests/engine_textures.rs @@ -620,10 +620,9 @@ fn an_argument_buffer_texture_is_the_texture_at_its_field() { /// A sampler of an argument buffer beside the texture it samples: the owned /// `argument_sampler_sample` kernel samples the member texture at `(0.25g + 0.125, 0.25g + /// 0.125)` through the member sampler, nearest and normalized, so thread `g` reads texel -/// `(g, g)` of the 4x4 texture, whose red is `x + 4y`. The executor's own context runs it; on -/// Linux the runtime's make refuses it, as the translator's identity domains read no execution -/// status address an encoder supplies (`Unsupported{IdentityDomains}`), the typed refusal a run -/// through the runtime records. +/// `(g, g)` of the 4x4 texture, whose red is `x + 4y`: the executor's own context and, on Linux, +/// the runtime, which samples through the element of the sampler arrays the member's resource ID +/// names. #[cfg(any(target_os = "linux", target_os = "macos"))] #[test] fn an_argument_buffer_sampler_samples_its_member_texture() { @@ -672,19 +671,9 @@ fn an_argument_buffer_sampler_samples_its_member_texture() { let expected: Vec = (0..4) .flat_map(|g| [5.0 * g as f32, 0.0, 0.0, 1.0]) .collect(); - assert_eq!(run(&case, &bitcode).unwrap().output, floats(&expected)); - #[cfg(target_os = "linux")] - { - use crate::check::admission::NotSupported; - let refused = super::engine_compute::run_through_runtime(&case, &bitcode); - assert!( - matches!( - &refused, - Err(ExecutorError::NotSupported(NotSupported::Product { detail, .. })) - if detail.contains("IdentityDomains") - ), - "{refused:?}" - ); + for (name, run) in runs() { + let run = run(&case, &bitcode).unwrap_or_else(|error| panic!("{name}: {error}")); + assert_eq!(run.output, floats(&expected), "{name}"); } } diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index cd4fa9789..af3d40c1a 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -61,7 +61,7 @@ mod tests; /// unchanged version, and its bless records the version. Independent of the crate's version and of /// [`ARTIFACT_FORMAT_VERSION`]. The commit that bumps it says what changed; this comment keeps no /// history. -pub const SEMANTICS_VERSION: u32 = 2230; +pub const SEMANTICS_VERSION: u32 = 2231; /// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the /// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another diff --git a/crates/metal2vulkan/src/lower/access/handle.rs b/crates/metal2vulkan/src/lower/access/handle.rs index c6f077e71..e455141ca 100644 --- a/crates/metal2vulkan/src/lower/access/handle.rs +++ b/crates/metal2vulkan/src/lower/access/handle.rs @@ -110,18 +110,61 @@ pub fn absent_param_value( pub enum HandleOperand { Value(ValueId), Const(u32), + /// The null handle of an argument buffer's sampler under the identity domains: the nil + /// resource ID, a `uvec2` of zeros ([`emit_identity_sampler`]). + NullId, } impl HandleOperand { - /// The `u32` handle index in the open block. + /// The handle in the open block: a `u32` handle index, or for [`HandleOperand::NullId`] the + /// `uvec2` nil resource ID. pub fn emit(self, cx: &mut EmitCx<'_>, fb: &mut FunctionBuilder<'_>) -> BResult { match self { HandleOperand::Value(v) => cx.operand(fb, v), HandleOperand::Const(k) => k32(fb, k), + HandleOperand::NullId => { + let ty = id_type(fb.module())?; + let zero = fb + .module() + .constant(crate::spirv::ir::Constant::Null { ty })?; + fb.module().const_value(zero) + } } } } +/// The `uvec2` of a resource ID, low word first. +fn id_type(mb: &mut ModuleBuilder) -> BResult { + use crate::spirv::ir::Type as SType; + let u = mb.ty(SType::Int { + width: 32, + signed: false, + })?; + mb.ty(SType::Vector { elem: u, len: 2 }) +} + +/// The representation of an argument buffer's sampler handle under the identity domains: its +/// resource ID, a `uvec2` ([`emit_identity_sampler`]). +const IDENTITY_SAMPLER_ID: DemoteTy = DemoteTy::Vector { + elem: crate::spirv::ids::ScalarTy::Int { bits: 32 }, + len: 2, +}; + +/// Whether handle value `v` is an argument buffer's sampler under the identity domains, held as +/// its resource ID ([`IDENTITY_SAMPLER_ID`]). +fn identity_sampler(cx: &SelectCx<'_>, v: Value) -> bool { + super::identity(cx.profile) && handles::heap_handle(cx.memory, v) == Some(HandleClass::Sampler) +} + +/// The representation of handle word `v` ([`is_word`]): an argument buffer's sampler's resource +/// ID under the identity domains ([`IDENTITY_SAMPLER_ID`]), every other word's handle index. +pub fn word_repr(cx: &SelectCx<'_>, v: Value) -> DemoteTy { + match member_word(&cx.families.access, v) { + Some(HandleClass::Sampler) if super::identity(cx.profile) => IDENTITY_SAMPLER_ID, + _ => DemoteTy::HandleIndex, + } +} + /// The element a handle-array load yields. #[derive(Clone, Debug, PartialEq, Eq)] pub enum Element { @@ -375,6 +418,9 @@ pub fn lowered_pointer(cx: &SelectCx<'_>, v: Value) -> Result, if super::phis::incoming(cx, v)?.is_some_and(|i| i.constant) { return Err(refuse()); } + if identity_sampler(cx, v) { + return Ok(Some(IDENTITY_SAMPLER_ID)); + } Ok(Some(DemoteTy::HandleIndex)) } @@ -616,6 +662,16 @@ pub fn select( c => operand(cx, *c)?, }; let (t, f) = match (result, array) { + // An argument buffer's sampler under the identity domains is its resource ID, so + // its null operand is the nil ID. + (Some(class), _) if identity_sampler(cx, here) => { + let id = |v: Value| match handle_operand(cx, v, class)? { + HandleOperand::Const(NULL_HANDLE) => Ok(HandleOperand::NullId), + HandleOperand::Const(_) => Err(refuse()), + op => Ok(op), + }; + (id(*t)?, id(*f)?) + } (Some(class), _) => ( handle_operand(cx, *t, class)?, handle_operand(cx, *f, class)?, @@ -787,9 +843,10 @@ fn lookup( )?) } }; - // Under the identity domains a texture's resource ID is its handle: its index is the element - // of the set-1 arrays (`emit_identity_handle`), and no table is searched. - if table == Table::Handles && super::identity(cx.profile) { + // Under the identity domains a texture's or a sampler's resource ID is its handle: its index + // is the element of the set-1 arrays (`emit_identity_handle`, `emit_identity_sampler`), and no + // table is searched. + if super::identity(cx.profile) { return Ok(access); } let ids = if legal::holds_wide(cx.profile) { @@ -944,8 +1001,7 @@ pub fn emit( fb.binary(BinOp::IAdd, base, delta)? } HandleStrategy::Lookup(a) | HandleStrategy::SamplerLookup(a) => { - let identity = - matches!(s, HandleStrategy::Lookup(_)) && cx.plan.families.access.identity; + let identity = cx.plan.families.access.identity; let id = match a.as_ref() { IdLoad::Static(a) => { let p = cx.operand(fb, a.ptr)?; @@ -957,8 +1013,12 @@ pub fn emit( let Some(id) = id else { return Err(cx.fail("a resource-id load without a value")); }; - if identity { - return emit_identity_handle(cx, fb, vid, id); + match s { + HandleStrategy::SamplerLookup(_) if identity => { + return emit_identity_sampler(cx, fb, vid, id); + } + _ if identity => return emit_identity_handle(cx, fb, vid, id), + _ => {} } let table = match s { HandleStrategy::SamplerLookup(_) => cx.decl.families.access.sampler_table, @@ -1017,6 +1077,30 @@ fn emit_identity_handle( Ok(()) } +/// Under the identity domains, the handle of a sampler whose resource ID `id` (`uvec2`, low word +/// first) an argument buffer holds (`docs/RESOURCE-ID.md`), defining `vid`: the ID itself, its index +/// replaced by 0 (the default sampler) where it is not below the set-1 sampler arrays' length +/// (`pipeline::link::IDENTITY_SAMPLERS`), and its word as the program wrote it. The program writes +/// the ID, so the guard keeps any index it holds inside the arrays: a bad ID samples through +/// element 0 by its word's fields. +fn emit_identity_sampler( + cx: &mut EmitCx<'_>, + fb: &mut FunctionBuilder<'_>, + vid: ValueId, + id: SValue, +) -> BResult<()> { + let low = fb.composite_extract(id, &[0])?; + let word = fb.composite_extract(id, &[1])?; + let length = k32(fb, crate::pipeline::link::IDENTITY_SAMPLERS)?; + let within = fb.binary(BinOp::ULessThan, low, length)?; + let zero = k32(fb, 0)?; + let index = fb.select(within, low, zero)?; + let ty = id_type(fb.module())?; + let h = fb.composite_construct(ty, &[index, word])?; + cx.define(vid, h); + Ok(()) +} + /// How an operation reaches its texture or sampler. #[derive(Clone, Debug, PartialEq, Eq)] pub enum HandleTarget { diff --git a/crates/metal2vulkan/src/lower/sampler/emit.rs b/crates/metal2vulkan/src/lower/sampler/emit.rs index 96c6fcc7d..76e80a745 100644 --- a/crates/metal2vulkan/src/lower/sampler/emit.rs +++ b/crates/metal2vulkan/src/lower/sampler/emit.rs @@ -1409,13 +1409,23 @@ fn identity_sampler( } /// Field `field` of the sampler table entry an argument buffer's sampler handle `handle` names: the -/// handle is the entry's index, the null entry's 0 for a missed or null id. +/// handle is the entry's index, the null entry's 0 for a missed or null id. Under the identity +/// domains the handle is the sampler's resource ID (`access::handle::emit_identity_sampler`): the +/// element is its guarded index and the flags its word. fn heap_sampler_field( cx: &mut EmitCx<'_>, fb: &mut FunctionBuilder<'_>, handle: ValueId, field: EntryField, ) -> BResult { + if cx.plan.families.access.identity { + let id = cx.operand(fb, handle)?; + let word = match field { + EntryField::Element => 0, + EntryField::Flags => 1, + }; + return fb.composite_extract(id, &[word]); + } let Some(table) = cx.decl.families.access.sampler_table else { return Err(cx.fail("an argument buffer's sampler without its sampler table")); }; diff --git a/crates/metal2vulkan/src/lower/sampler/mod.rs b/crates/metal2vulkan/src/lower/sampler/mod.rs index c0517dd9a..6c25b25a8 100644 --- a/crates/metal2vulkan/src/lower/sampler/mod.rs +++ b/crates/metal2vulkan/src/lower/sampler/mod.rs @@ -1796,6 +1796,11 @@ pub fn declare( if d.identity.contains_key(&use_) { continue; } + // An argument buffer's sampler of the use declared it: the same binding. + if let Some(g) = arrays.get(&use_) { + d.identity.insert(use_, *g); + continue; + } let sampler = mb.ty(SType::Sampler)?; let array = mb.ty(SType::RuntimeArray { elem: sampler, diff --git a/crates/metal2vulkan/src/lower/sampler/select.rs b/crates/metal2vulkan/src/lower/sampler/select.rs index b1d66f1ce..202258a39 100644 --- a/crates/metal2vulkan/src/lower/sampler/select.rs +++ b/crates/metal2vulkan/src/lower/sampler/select.rs @@ -2991,9 +2991,11 @@ fn places_wrapped_offset(op: &SampleOp) -> bool { /// stage never marks it: the mark is a store, and a fragment function holding one loses the /// device's hidden-surface removal and early depth test although the store never runs (an M4: 16 /// hidden layers cost 13.5 times what they cost without it), so the planner refuses a listed cubic -/// sampler beside a fragment stage. +/// sampler beside a fragment stage. Under the identity domains no test: the runtime makes no device +/// sampler of a cubic filter (its state is refused), so no live sampler's resource ID carries the +/// word's `CUBIC` bit. fn cubic_reach(cx: &mut SelectCx<'_>) { - if cx.stage == Stage::Fragment { + if cx.stage == Stage::Fragment || crate::lower::access::identity(cx.profile) { return; } if cx.families.sampler.cubic_reach || crate::lower::access::absent::status_writable(cx) { diff --git a/crates/metal2vulkan/src/lower/select.rs b/crates/metal2vulkan/src/lower/select.rs index e5c25960e..6b17ceb31 100644 --- a/crates/metal2vulkan/src/lower/select.rs +++ b/crates/metal2vulkan/src/lower/select.rs @@ -614,8 +614,8 @@ impl SelectCx<'_> { // An index word is held as its low word. Ok(word) } else if access::handle::is_word(&self.families.access, v) { - // A handle word is held as its handle index. - Ok(DemoteTy::HandleIndex) + // A handle word is held as its handle index, or as its resource ID. + Ok(access::handle::word_repr(self, v)) } else if let Some(p) = access::cell::word_pointer(self, v) { // A pointer word from a forwarding cell is held as its pointer. access::lowered_pointer(self, p) @@ -2047,11 +2047,12 @@ fn identity_refusal(plan: &Plan) -> Option { )); } // Samples only of a texture slot or an argument buffer's texture through a runtime sampler - // slot or a constexpr sampler (`sampler::IdentitySampling`, `SamplerPlan::heap_identity`), a - // runtime sampler's word read from its resource ID, and a 2D texture slot's bicubic sample at - // normalized coordinates, the bound format's treatment read from its push field - // (`PushField::BicubicTexels`): no argument buffer's sampler, array of samplers, bicubic - // sample at pixel coordinates, bicubic sample of a 1D texture (`Routine::Line`), or + // slot or a constexpr sampler (`sampler::IdentitySampling`, `SamplerPlan::heap_identity`), of + // an argument buffer's texture through an argument buffer's sampler (its resource ID the + // handle, `access::handle::emit_identity_sampler`), a runtime sampler's word read from its + // resource ID, and a 2D texture slot's bicubic sample at normalized coordinates, the bound + // format's treatment read from its push field (`PushField::BicubicTexels`): no array of + // samplers, bicubic sample at pixel coordinates, bicubic sample of a 1D texture (`Routine::Line`), or // specialization of a slot's state. A two-plane texture's sample read in place // (`Routine::Quad`) never reaches here: its slot's `PushField::YCbCrInPlace` is refused first, // as an encoder value the identity domains do not source. @@ -2063,10 +2064,6 @@ fn identity_refusal(plan: &Plan) -> Option { || !sampled.decls.is_empty(), "a texture argument sampled through a sampler the identity sampling does not take", ), - ( - !sampled.heap_samplers.is_empty() || sampled.cubic_reach, - "an argument buffer's sampler", - ), ( !sampled.arrays.is_empty() || !sampled.heap_arrays.is_empty(), "an array of samplers", diff --git a/crates/metal2vulkan/src/pipeline/link.rs b/crates/metal2vulkan/src/pipeline/link.rs index 6e6a1242f..98064ffc7 100644 --- a/crates/metal2vulkan/src/pipeline/link.rs +++ b/crates/metal2vulkan/src/pipeline/link.rs @@ -1201,8 +1201,9 @@ pub(crate) const IDENTITY_TEXTURES: u32 = 65_536; const _: () = assert!(IDENTITY_TEXTURES.is_power_of_two()); /// Each sampler array of the identity domains' set 1: bindings 2, 3 and 4, one element per index a -/// sampler's resource ID may hold (`docs/RESOURCE-ID.md`). -const IDENTITY_SAMPLERS: u32 = 4_000; +/// sampler's resource ID may hold (`docs/RESOURCE-ID.md`). An argument buffer's sampler index not +/// below it reads element 0 (`lower::access::handle`). +pub(crate) const IDENTITY_SAMPLERS: u32 = 4_000; /// Set 1 under the identity domains: the same layout for every pipeline, so the consumer binds one /// set for every command. Binding 0 is the sampled-image array and binding 1 the storage-image diff --git a/crates/metal2vulkan/src/tests/engine_identity.rs b/crates/metal2vulkan/src/tests/engine_identity.rs index 65de119ec..9bbc0550f 100644 --- a/crates/metal2vulkan/src/tests/engine_identity.rs +++ b/crates/metal2vulkan/src/tests/engine_identity.rs @@ -72,6 +72,12 @@ //! 0; each passes L3. Constexpr samplers a lane chooses among, where they are one array of //! samplers, are still refused as `Unsupported{IdentityDomains}`, not implemented, naming that //! form. +//! - A kernel that samples an argument buffer's texture through the sampler the argument buffer +//! holds beside it (`engine/tail_argument_samplers`, `engine/tail_argument_cube_gradient`) takes +//! the sampler's resource ID as its handle: the element of the set-1 sampler array of its use at +//! the ID's index, element 0 where the index is past the arrays, and the word's fields from the +//! ID's high word, with no sampler table, no execution status address and no cubic test; each +//! passes L3. //! - A kernel that encodes compute commands into an indirect command buffer it reaches through an //! argument buffer (`engine/icb_replay_encode`) is refused as //! `Unsupported{GpuEncodedIndirectCommands}`, not implemented: the feature it uses, not the @@ -1048,6 +1054,75 @@ target triple = \"air64_v28-apple-macosx26.0.0\"\n\n{}", } } +/// Under the identity domains a kernel that samples, compares or fetches an argument buffer's +/// texture through the sampler the argument buffer holds beside it (`engine/tail_argument_samplers`' +/// kernels and `engine/tail_argument_cube_gradient`'s) takes the sampler's resource ID from the +/// member's 8 bytes as its handle (`access::handle::emit_identity_sampler`): the sampler is the +/// element of the set-1 sampler array of its use that the ID's guarded index names, and its word's +/// fields are the ID's high word. No sampler table, nothing in set 0, no sampler slot's ID, constexpr +/// sampler index or execution status address pushed, and no cubic test +/// (`RuntimeFact::CubicArgumentSampler`). Each passes L3 on every +/// profile; the default domains compile each as before. +#[test] +fn an_argument_buffers_sampler_samples_through_the_identity_arrays_by_its_resource_id() { + let (Some(samplers), Some(cube)) = ( + assemble("tail_argument_samplers"), + assemble("tail_argument_cube_gradient"), + ) else { + return; + }; + // Each entry and the set-1 bindings it uses. + let cases: [(&[u8], &str, &[u32]); 5] = [ + (&samplers, "argument_sampler_sample", &[0, 2]), + (&samplers, "argument_sampler_edges", &[0, 2]), + (&samplers, "argument_sampler_compare", &[0, 3]), + (&samplers, "argument_sampler_integer", &[0, 4]), + (&cube, "argument_sampler_cube_gradient", &[0, 2]), + ]; + for stem in PROFILES { + let default = profile(stem, DevicePolicy::default()).unwrap_or_else(|e| panic!("{e}")); + let p = profile(stem, identity()).unwrap_or_else(|e| panic!("{e}")); + for (bc, entry, bindings) in cases { + let what = format!("{stem}: {entry}"); + compile(bc, entry, &default).unwrap_or_else(|e| panic!("{what}: default domains: {e}")); + let (a, plan, _) = + compile_kept(bc, entry, &p).unwrap_or_else(|e| panic!("{what}: {e}")); + link_and_validate(&a, &p).unwrap_or_else(|e| panic!("{what}: L3: {e}")); + let pushed: Vec<_> = (plan.push.fields.iter()) + .map(|f| f.field) + .filter(|f| match f { + PushField::SlotGuestBase(s) => s.class == SlotClass::Sampler, + PushField::ExecutionStatusAddress | PushField::ConstexprSampler(_) => true, + _ => false, + }) + .collect(); + assert_eq!(pushed, [], "{what}"); + assert!( + !(a.facts.iter()).any(|f| matches!(f, RuntimeFact::CubicArgumentSampler { .. })), + "{what}" + ); + let linked = link(&[&a], &LinkInputs::standalone(), &p) + .unwrap_or_else(|e| panic!("{what}: {e}")); + let sets: Vec<_> = (linked.layout.sets.iter()) + .map(|s| { + let b: Vec<_> = (s.bindings.iter()) + .map(|b| (b.binding, b.ty, b.count)) + .collect(); + (s.set, b) + }) + .collect(); + assert_eq!(sets, [(0, vec![]), (1, identity_arrays())], "{what}"); + let mut used: Vec = (linked.table.bindings.values()) + .filter(|(set, _)| *set == 1) + .map(|(_, binding)| *binding) + .collect(); + used.sort(); + used.dedup(); + assert_eq!(used, bindings, "{what}"); + } + } +} + /// Under the identity domains a kernel that encodes indirect commands is refused for that feature, /// `Unsupported{GpuEncodedIndirectCommands}`, not implemented, on every profile. #[test] diff --git a/docs/RESOURCE-ID.md b/docs/RESOURCE-ID.md index c222b0c45..6ed8d66ab 100644 --- a/docs/RESOURCE-ID.md +++ b/docs/RESOURCE-ID.md @@ -79,8 +79,12 @@ A constexpr sampler has no ID: the consumer places a device sampler of it (the f `PushField::ConstexprSampler` names it and its use, and `CombinedSampler::constexpr_sampler` describes it) at an index of the use's array and pushes that index as a `u32`. Its coordinates are normalized; the shader scales a pixel sampler's coordinate itself. It samples with its own -address modes. An argument buffer's sampler is not lowered under these domains yet; the change -that first lowers it masks its index as an argument buffer's texture's is masked. +address modes. A shader takes an argument buffer's sampler's ID from the member's 8 bytes, +samples through the element of its use's array that its low word indexes, and reads the word's +fields as a runtime sampler slot's. The program writes the ID, so the shader compares its index +with the arrays' length: an index of 4,000 or more reads element 0, the default sampler, never one +outside the arrays. The runtime makes no sampler of a cubic filter, so no live ID's word carries +bit 30, and the shader does not test it. ## The texture word