Take a command buffer's tracked uses as its writes, whatever the logs collected
The standing let go of every shadow at each command buffer whose uses the device's logs of host pages did not collect (`unnoted`), taking that as a command buffer that may reach memory no use names. But `unnoted` only says no log or copied host buffer lived to collect them (`note_dirty`): the tracker's summary of every encoder holds its tracked uses either way. So on a device with no logs every command buffer let go of every standing, and none ever held (M3 job m3-max-1916: the second read of the Private plane skipped no copy in). Only `State::reaches_unnamed` (a root table, work resolved from records) lets go of all now. A shadow over a buffer whose own uses are untracked, whose writes no summary holds, never stands: the plane's texture takes its descriptor's tracking, not the buffer's. The module docs and the API.md catalogue entry say both. Verified: runs next on the M3, with the negative controls. (cherry picked from commit dcc32875db5aee8a8903ef9443235edce8de97cf)
This commit is contained in:
1 parent
df8688bd78
commit
66ea975bdb
3 files changed
+18
-16
No files matched your search
+5
-5
@@ -1460,11 +1460,11 @@ bound.
|
||||
image before each use and back after each write (over a buffer's bytes but a tracked private
|
||||
buffer's, kept before a write and merged back after it; over a tracked private buffer of the
|
||||
runtime's own, copied in again only once another command buffer wrote it). That buffer is a
|
||||
`Private` or `Memoryless` one the runtime made, of no heap and over none of the caller's memory,
|
||||
whose `VkBuffer` was never handed out; a command buffer whose commands may reach memory no use
|
||||
names (a function that reaches buffers through their addresses, work resolved from records) also
|
||||
lets go of every such image, and `WorkCounts::shadow_copies_in_skipped_by_standing` counts each
|
||||
copy in a standing image saved. A render pass that loads it as an attachment, takes it in no other way and draws under
|
||||
tracked `Private` or `Memoryless` one the runtime made, of no heap and over none of the caller's
|
||||
memory, whose `VkBuffer` was never handed out; a command buffer whose commands may reach memory
|
||||
no use names (a function that reaches buffers through their addresses, work resolved from
|
||||
records) also lets go of every such image, and `WorkCounts::shadow_copies_in_skipped_by_standing`
|
||||
counts each copy in a standing image saved. A render pass that loads it as an attachment, takes it in no other way and draws under
|
||||
scissors copies in only the texels inside them (`WorkCounts::shadow_texels_copied_in`). Over a
|
||||
buffer's bytes that another writer may
|
||||
write while a command buffer runs, the image is kept in a scratch buffer before the first command
|
||||
|
||||
Reference in new issue
Block a user