Translator: a ulong texture's atomics are refused on every device; the 64-bit image form goes
The rule: a sole lowering under 150 lines that nothing executes is
deleted to a typed refusal. Metal's atomic_min and atomic_max on a ulong
texture lowered to OpAtomicUMin/UMax on an R64ui image, which needs
shaderImageInt64Atomics; no runtime enables it, so nothing ran the form.
texture::atomic::select now refuses the pair as
Unsupported{ImageAtomics} not implemented, on every device. Gone with
the form: TexAtomic.ulong, the R64ui slot declaration and its reads and
writes in the emitter, RuntimeFact::UlongAtomicView with its codec, name
and mechanism rows, the binder's R64_UINT view and neutral,
DeviceProfile::ulong_atomic_gaps, LeafCaps.image_int64_atomics, and
R64_UINT in the queried formats. VK_EXT_shader_image_atomic_int64 is
described and never enabled. Product lines +34 -142.
Tests: the four tests of the 64-bit form and the fact's round trip go;
ulong_atomics_are_refused_on_every_device asserts the refusal on every
committed profile; the legacy-offset test takes the refusal as a gap;
the mechanism table renumbers; the recommendations test lists
shaderImageInt64Atomics as unread. The runtime README's known gap says
the atomics are refused, and its Not enabled row for
shaderImageInt64Atomics goes (the profile reads it no more).
docs/REFUSALS.md and api_signatures.tsv regenerate.
Consumer search (reims-vgpu ad28ebd881): ulong_atomic_gaps 0,
UlongAtomicView 0, image_int64_atomics 0.
This commit is contained in:
1 parent
3f8f9d352d
commit
c78ff4022c
26 files changed
+142
-650
No files matched your search
+3
-2
@@ -1341,8 +1341,9 @@ ask too (`plan.dispatch_variant(&dispatch)`, or `BindError::NeedsVariant` from i
|
||||
|
||||
Textures follow Metal's texel rules: sparse textures report residency where the device can,
|
||||
`Depth32Float` texels are the device's depth image's (a value it clamps or a denormal it flushes is
|
||||
the device's, `PrecisionNote::DepthDenormals`), `ulong` textures and their atomics use
|
||||
64-bit images where the device has them, and `half` and sRGB reads give Metal's values or record
|
||||
the device's, `PrecisionNote::DepthDenormals`), a `ulong` texture is an `RG32` unsigned image
|
||||
whose two words the function joins and splits (its atomics are refused, `ImageAtomics`), and
|
||||
`half` and sRGB reads give Metal's values or record
|
||||
their bound (an sRGB texel is the device's own decode wherever the device samples its format,
|
||||
`srgb-texel-decode`). The
|
||||
rustdoc of `BindState`, `TextureFacts` and `BindingPlan` states each rule. A read's, sample's or
|
||||
|
||||
Reference in new issue
Block a user