-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[D3D12] Fix crash during descriptor cache flush for PSO without descr…
…iptor heap. D3D12CommandContext::PrepareStagingDescriptorHeaps() must be called for each PSO binding, not just for those with resource bindings. Otherwise, the layout information is not updated and the next call to any of the Flush*StagingDescriptorTables() functions can crash the D3D runtime.
- Loading branch information
1 parent
e4eb957
commit ff24a98
Showing
2 changed files
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters