RUNTIME_VERSION 1941 and the runtime-sources pin for the early-mask visibility notice
The four commits before this (nvreds) carry GraphicsState::writes_sample_mask in the lowered state (SEMANTICS 1998, ARTIFACT_FORMAT 495, set there) and read maintenance5's earlyFragmentMultisampleCoverageAfterSampleCounting into the device's limits. Where a device reports false (ANV on the Iris Xe), a counted draw with early fragment tests and a fragment-written sample mask counts the samples the mask keeps, where Metal counts every sample covered before the shader. The runtime announces visibility-past-early-mask there and counts WorkCounts::draws_counted_past_early_masks. Keeping Metal's count would cost a second draw per counted draw (a mask-free, colour-free variant inside the query), so the device's count is the near-equivalent, recorded in docs/API.md and FAST-PATHS' device gaps. Draws outside a visibility query pay nothing. Verified (nvreds): - Iris m3-max-10629: sample_coverage, visibility, post_depth_coverage, coverage_outputs and line_widths 23/23. 'counted 0 of the 256 / 128 of 512 / 320 of 1024 samples Metal counts', announced and counted. - Lint 10560 and the quick suite 10624 green. - M3 lanes 10544 green, where MoltenVK reports true and the count is held exact. Landing: pin-compute, api-signatures --check, refusal surface and coverage with no diff.
This commit is contained in:
1 parent
1746ba0927
commit
5be90aacf9
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
5721292890169cf916a78b3f7173e94410d9a4254237bef154bb0b4f21ea80c3
|
||||
946ee98b8af99b8fb7f5b0285ddfb4891da09896cb4e721bf04b5f7d6a781a14
|
||||
Vendored
+1
-1
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 495;
|
||||
/// 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 = 1940;
|
||||
pub const RUNTIME_VERSION: u32 = 1941;
|
||||
|
||||
/// 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