-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
d3d12: Use
Device10
Placed/CommittedResource
functions for Enhanc…
…ed-Barriers initial Layout (#168) * Run `cargo fmt` after merging #161 Seems the CI did not run on that PR, or at least didn't obstruct merging said PR. * d3d12: Use `Device10` `Placed/CommittedResource` functions for Enhanced-Barriers initial Layout When using enhanced barriers new resource creation APIs need to be used to set its initial layout rather than setting an initial state, which is the legacy enumeration API. In order to support this we need access to `Device10` where the new methods reside, which we could query (`.cast()`) from `ID3D12Device` or request from the user directly as done here.
- Loading branch information
Showing
4 changed files
with
185 additions
and
77 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
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