replay: skipped render pipeline states are counted by the runtime's gap
The report gave one line for every skipped render pipeline state, its
total and the first one's answer, so a stream's states refused for a
depth attachment, for framebuffer fetch or by the translator read as one
number. The planner's census of what the new runtime refuses needs the
count of each kind per stream.
The backend now keeps the skipped states by the gap as Rust prints it
for debugging (Translation where the translator refused), with the
first one's object and answer, and the report gives a
"skipped render states GAP N, the first #ID: WHY" line for each, as it
does for render commands; skipped_render_states is their sum.
docs/REPLAY-STREAM.md describes the line.
Verified: see the check job (a new rt_replay device test: a state with
a Depth32Float depth attachment is counted under
RenderPipeline { kind: DepthAttachment }).
This commit is contained in:
1 parent
749c939440
commit
c027cc2cfa
4 files changed
+55
-17
No files matched your search
@@ -692,8 +692,10 @@ calls played: where
|
||||
the play stopped, the stopping call is the next), the new runtime's backend's
|
||||
`pipeline I wall_nanos=N kernel=new|again` for each compute pipeline state it made, in order (the
|
||||
making's wall time, and whether no state of another specialization of the kernel, a library's
|
||||
function by name, was made before), its `skipped render states N, the first #ID: WHY` where it
|
||||
skipped any (`ID` the first one's object and `WHY` the runtime's answer), its
|
||||
function by name, was made before), its `skipped render states GAP N, the first #ID: WHY` for each
|
||||
typed gap a render pipeline state met (`GAP` the runtime's gap as Rust prints it for debugging, such
|
||||
as `RenderPipeline { kind: DepthAttachment }`, or `Translation` where the translator refused it, `N`
|
||||
the states skipped, `ID` the first one's object and `WHY` the runtime's answer), its
|
||||
`skipped render commands GAP N, the first at frame F, call C` for each typed gap a render command
|
||||
met, a draw the runtime does not build among them (`GAP` the runtime's gap as Rust prints it for
|
||||
debugging, such as `Draw { kind: Points }`, `N` the commands skipped, `F`
|
||||
|
||||
Reference in new issue
Block a user