replay: the rt backend answers a compute pipeline state's resource ID as none, reported as differing, where the play stopped (gb, lavapipe, m3-max-44039)

This commit is contained in:
Anees Iqbal committed 2026-11-17 20:28:46 -08:00
1 parent 0383fdbded
commit 5733e58c4e
2 files changed
+5 -2

No files matched your search

@@ -1078,7 +1078,9 @@ impl Backend for NewRuntime {
let id = match self.objects.get(&object) {
Some(Object::Texture(texture)) => texture.gpu_resource_id(),
Some(Object::Sampler(sampler)) => sampler.gpu_resource_id(),
Some(Object::Skipped) => return Ok(None),
// The runtime gives a compute pipeline state no resource ID: it builds no indirect
// command buffers. The player reports the ID as differing.
Some(Object::ComputePipeline(_) | Object::Skipped) => return Ok(None),
_ => {
return Err(PlayError::Invalid(format!(
"gpuResourceID of #{object}, which has none"
+2 -1
View File
@@ -425,7 +425,8 @@ old runtime (the default) or the new one (`rt`), and writes `DIR/report.txt`. `c
256 MiB blocks of the runtime (a larger one in a block of its own), a range freed for reuse once every command buffer committed
before its release completed, and gives textures and sampler states indices from the whole of
each index class. Its readback serves Shared and Managed buffers only; a check of anything else
is a refusal.
is a refusal. The runtime gives a compute pipeline state no `gpuResourceID`, so each one the
program saw is reported on an `id` line as `none`.
`report.txt` holds one line per item: `device NAME`, `completed IDS COUNTS`, `frame N COUNTS`,
`check ID SHA256 match|differs|unrecorded`, `id ID RECORDED PLAYED` for each object whose runtime