Title buffers' copies down to any size in the card's memory (VICTORY_CARD_BUFFERS_MIN_KB), the card's hashes over the buffer's own bytes (both after fxceless c36971b2)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
df787d4d3d
commit
e3fa9c60c0
2 files changed
+29
-4
No files matched your search
@@ -4234,7 +4234,7 @@ impl Host {
|
||||
list.SetPipelineState(&work.pso);
|
||||
list.SetComputeRootUnorderedAccessView(3, work.differs.0.GetGPUVirtualAddress());
|
||||
for (shadow, ranges) in &dirty {
|
||||
let Some((_, Some(before), size)) = shadow.card_sides() else {
|
||||
let (Some((_, Some(before), _)), size) = (shadow.card_sides(), shadow.card_hash_size()) else {
|
||||
continue;
|
||||
};
|
||||
// No twin (it cost the card the copy's size again,
|
||||
@@ -4364,7 +4364,7 @@ impl Host {
|
||||
list.SetPipelineState(&work.pso);
|
||||
list.SetComputeRootUnorderedAccessView(3, work.differs.0.GetGPUVirtualAddress());
|
||||
for r in plan.ranges.iter().filter(|r| r.compared) {
|
||||
let Some((_, Some(before), size)) = r.shadow.card_sides() else {
|
||||
let (Some((_, Some(before), _)), size) = (r.shadow.card_sides(), r.shadow.card_hash_size()) else {
|
||||
continue;
|
||||
};
|
||||
list.SetComputeRootShaderResourceView(1, r.shadow.buffer.GetGPUVirtualAddress());
|
||||
|
||||
Reference in new issue
Block a user