RUNTIME_VERSION 1994 and the runtime-sources pin for a Clear's reach past its render area on Apple silicon
Behaviour from exitcrash's f856f3a2c8, ea34c27388 and 4cb247a148.
On an AppleSilicon-presenting device, a Clear in a pass without a draw call reaches what the M3's Metal
clears:
- the whole level or slice, where Metal compresses the attachment;
- otherwise the render area rounded up to 32x32 tiles and clipped to the level;
- with a draw call, always the tiles.
How it is done:
- A no-draw pass whose clear would reach past its area clears in a pass of its own first, then loads. So
the main pass's render area stays Metal's, and a DontCare attachment never sits in a grown pass.
- FreshUnwritten counts the reach as written.
- A pre-existing bug found by the new test is fixed: a texture over a buffer with a shadow image, cleared
past its render area without a draw call, wrote nothing to the buffer.
IntelOrAmd answers are unchanged (the whole level without a draw call, the 5300M's). API.md records the
x86 Macs' disagreement as an accepted difference.
Verified by exitcrash:
- runtime_lane::fresh_clear_reach: 300 cases texel by texel against Metal's answers.
- fresh_contents' multisampled depth test.
- M3 MoltenVK 258/258 (job 12799) and lavapipe 259/259 (12800).
- The negative control at 32ea3ac198 fails 36 of 300 cases on both devices.
- clippy is clean.
This commit is contained in:
1 parent
055ac0d2db
commit
d21208a18d
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
d2253f72fca107f1685bcd3acaf9deeb4623f5519fe78100ad729d6274935f7f
|
||||
6d59eec5bae5f4f0b8137ab3c030e2e8c5ed92b0075cde6e4fcf8fff7e7e3f3e
|
||||
Vendored
+1
-1
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 497;
|
||||
/// changes no behaviour, and then updates that hash alone with the commit saying why, or changes
|
||||
/// behaviour and also bumps this version. The commit that bumps it says what changed; this comment
|
||||
/// keeps no history.
|
||||
pub const RUNTIME_VERSION: u32 = 1993;
|
||||
pub const RUNTIME_VERSION: u32 = 1994;
|
||||
|
||||
/// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex,
|
||||
/// of the manifest, the build script, and exactly the files the crate roots' module tree compiles
|
||||
|
||||
Reference in new issue
Block a user