Textures shaders write that the title reads on the CPU are copied back into title memory (from fxceless f5c03f3b, pull request 999: Geckomacabre 895c0b8f, 04df4350); on by default

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 15:31:36 -06:00
1 parent 80d95bcd41
commit 41d9b5b9b0
6 files changed
+383 -6

No files matched your search

+2
View File
@@ -4171,6 +4171,8 @@ fn readable(list: &HostList, kind: ResourceType, view: &View) {
(View::Unordered(resource, _, _), ResourceType::Uav) => {
#[cfg(feature = "diagnostics")]
crate::capture::note_target(*resource as This);
// Some compute-written textures are also read by the title CPU.
list.texture_written(*resource as This);
// Unordered access to a depth texture is its colour twin's.
if !list.twin_use(*resource as This, true, true) {
crate::list::ensure_state(list, *resource as This, UNORDERED_ACCESS);