device: the identity pointer and handle domains, taken as a pair
The new runtime's form: pointers are device addresses used directly and a texture's or sampler's
handle is its gpuResourceID (docs/RESOURCE-ID.md). The variants come beside the old domains,
which stay until the cutover; nothing lowers under them yet.
- PointerDomain::Identity and HandleDomain::Identity.
- Device::new refuses one identity domain without the other (InvalidDescriptor) and the identity
domains on a device without bufferDeviceAddress and shaderInt64 (Unsupported{IdentityDomains},
naming both features as one alternative).
- A compile under the identity domains is Unsupported{IdentityDomains}, not implemented, at the
start of analysis, so no old form is ever emitted under them. Later steps lift it as the
lowering lands.
- The profile fingerprint covers the domains (tested).
- docs/API.md's policy section names the domains; docs/REFUSALS.md and the reach table carry the
new refusal; api_signatures regenerated.
Verified (this commit's tree, rebased with the ledger commit before it onto b216007f0a):
- msi 41071: clippy -p metal2vulkan --all-targets --all-features -D warnings, rustdoc -D warnings,
nextest -p metal2vulkan in full, 3,663 of 3,663 (the golden table included: no cell moved; the
new test the_identity_domains_come_as_a_pair_on_a_device_with_addresses among them).
- msi 41072: clippy under --cfg m2v_gpu and --cfg m2v_cpu_icd.
- msi 41073: the conformance crate's ledger tests, 7 of 7.
This commit is contained in:
1 parent
32b1c1578c
commit
94071f82a2
10 files changed
+142
-10
No files matched your search
@@ -105,6 +105,13 @@ compile does. `DevicePolicy::default()` is `DevicePolicy::UNTRUSTED`:
|
||||
rounding of each `half` operation
|
||||
on a device without `shaderFloat16` and Metal's filter of planes read in place (below), each listed in [FAST-PATHS.md](FAST-PATHS.md)
|
||||
with its bound and the measured cost of its exact form.
|
||||
- **The resident-table and handle-table domains** (`PointerDomain::ResidentTable`,
|
||||
`HandleDomain::Table`, the default). The identity domains (`PointerDomain::Identity` with
|
||||
`HandleDomain::Identity`, taken together) are the new runtime's form: pointers are device
|
||||
addresses used directly and a texture's or sampler's handle is its `gpuResourceID`
|
||||
([RESOURCE-ID.md](RESOURCE-ID.md)). They need `bufferDeviceAddress` and `shaderInt64`, and
|
||||
they lower no function yet: a compile under them is refused as
|
||||
`Unsupported{IdentityDomains}`.
|
||||
- **The model's linear sample of planes read in place** (`YCbCrInPlacePolicy::Model`, the
|
||||
default; changes emitted code). On an integrated GPU or a CPU device a function that only
|
||||
samples, gathers or sizes a `YCBCR8_420_2P` or `YCBCR10_420_2P` texture reads its planes' codes
|
||||
|
||||
Reference in new issue
Block a user