rt render docs: the replay streams' render contents counted with each function resolved at its creation

The step-1 docs said 1,641 render contents over gb and b2, 1,631 drawing only triangles. The census
behind them keyed contents on the recorded linked-function handles, which a stream reuses for later
objects once one is released, so one content counted many times. Resolved at each creation (job
m3-max-44425, render_cold over gb and b2): 537 contents drawn (gb 273, b2 264), 527 only triangles,
2 lines and triangles, 8 only lines, as before.

Verified: docs only; the counts are job m3-max-44425's.
This commit is contained in:
Anees Iqbal committed 2026-11-17 22:51:54 -08:00
1 parent 449794ae8d
commit 323a60228e
2 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -921,9 +921,9 @@ a miss. With no directory, nothing is kept on disk, and each `VkPipeline` is mad
constants and vertex buffer strides. It renders dynamically into its attachments' formats, with
no render pass.
- The triangle class's `VkPipeline` is made with the state, through its file in the cache
directory where there is one; a point or line class's comes with the draws. Over the two replay
streams' 1,641 render contents, 1,631 draw only triangles; a content drawn only as points or
lines (8 of them) makes a triangle `VkPipeline` it never uses.
directory where there is one; a point or line class's comes with the draws. Of the two replay
streams' 537 render contents drawn, 527 draw only triangles and 2 lines and triangles; a content
drawn only as points or lines (8 of them) makes a triangle `VkPipeline` it never uses.
### Known gaps of render pipeline states
+3 -3
View File
@@ -22,11 +22,11 @@
//! which Vulkan 1.3 bakes, are their defaults: the render encoder does not set them yet.
//!
//! A descriptor names no topology class unless it sets `inputPrimitiveTopology`, and the replay
//! streams' never do, while nearly every content draws only triangles (1,631 of 1,641 contents
//! over gb and b2). So the triangle class's `VkPipeline` is made with the state, where Metal
//! streams' never do, while nearly every content draws only triangles (527 of the 537 contents
//! gb and b2 draw). So the triangle class's `VkPipeline` is made with the state, where Metal
//! compiles; a point or line class's comes with the draws, made by the first draw of that class.
//! The cost: a content drawn only as lines or points makes a triangle `VkPipeline` it never uses
//! (8 contents of the 1,641).
//! (8 contents of the 537).
use crate::cache::{module_digest, pipeline_key};
use crate::counters::Gauge;