In D3D12RaytracingSimpleLighting::BuildAccelerationStructures():
D3D12 WARNING: ID3D12Device::CreateCommittedResource: Ignoring InitialState D3D12_RESOURCE_STATE_UNORDERED_ACCESS. Buffers are effectively created in state D3D12_RESOURCE_STATE_COMMON. [ STATE_CREATION WARNING #1328: CREATERESOURCE_STATE_IGNORED]
Changing the initial state to D3D12_RESOURCE_STATE_COMMON as reported solves the warning.
Environment
In
D3D12RaytracingSimpleLighting::BuildAccelerationStructures()
:Changing the initial state to D3D12_RESOURCE_STATE_COMMON as reported solves the warning.