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.
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()
) fromID3D12Device
or request from the user directly as done here.