Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d3d12: Use Device10 Placed/CommittedResource functions for Enhanced-Barriers initial Layout #168

Merged
merged 2 commits into from
May 16, 2023

Conversation

MarijnS95
Copy link
Member

@MarijnS95 MarijnS95 commented May 16, 2023

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.

Seems the CI did not run on that PR, or at least didn't obstruct merging
said PR.
…ed-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.
@MarijnS95 MarijnS95 merged commit d5de660 into main May 16, 2023
12 of 18 checks passed
@MarijnS95 MarijnS95 deleted the dx12-device10-eb-layout branch May 16, 2023 10:31
MarijnS95 added a commit that referenced this pull request May 16, 2023
The CI isn't holding back PR merges, and some nitty API changes behind
feature toggles slipped through the cracks.
MarijnS95 added a commit that referenced this pull request May 16, 2023
The CI isn't holding back PR merges, and some nitty API changes behind
feature toggles slipped through the cracks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants