GPU tests: set an explicit shader-read state in the window check #1279

Closed
spk-c wants to merge 2 commits from upstream-pr/1282 into main
spk-c commented 2026-11-26 10:10:54 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by spk-c on 2026-11-26T10:10:54Z.


AI-assisted change.

Summary

Transition the synthetic source buffer from COMMON to NON_PIXEL_SHADER_RESOURCE before the window-check test's first clamp read. The later COPY_DEST transition then begins from the explicitly recorded state. This change is limited to the test.

Validation

  • Passed host_list_window_check_finds_a_record_written_under_its_window on this branch with the diagnostics feature and the D3D12 debug layer enabled, using one test thread.

Refresh against upstream 52ac4ec

New head d7e3cb41cda905b76c2b58dfbc2278c60175e83d. Clean isolated workspace Cargo Check, strict all-feature Clippy and the focused host-list window-check regression (WARP requested) passed. Full upstream CI remains pending.

<!-- greyfinch-sync:fxceless/victory-fork:issue:5508040147 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1282). Originally posted by [spk-c](https://github.com/spk-c) on 2026-11-26T10:10:54Z. --- AI-assisted change. ## Summary Transition the synthetic source buffer from COMMON to NON_PIXEL_SHADER_RESOURCE before the window-check test's first clamp read. The later COPY_DEST transition then begins from the explicitly recorded state. This change is limited to the test. ## Validation - Passed `host_list_window_check_finds_a_record_written_under_its_window` on this branch with the diagnostics feature and the D3D12 debug layer enabled, using one test thread. ## Refresh against upstream 52ac4ec New head `d7e3cb41cda905b76c2b58dfbc2278c60175e83d`. Clean isolated workspace Cargo Check, strict all-feature Clippy and the focused host-list window-check regression (WARP requested) passed. Full upstream CI remains pending.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork!1279
No description provided.