When SetEnableGPUBasedValidation is enabled on Windows, the initial state for a resource will result in a harmless but noisy warning.
D3D12 WARNING: ID3D12Device::CreateCommittedResource: Ignoring InitialState D3D12_RESOURCE_STATE_COPY_DEST. Buffers are effectively created in state D3D12_RESOURCE_STATE_COMMON. [ STATE_CREATION WARNING #1328: CREATERESOURCE_STATE_IGNORED]
The fix is to use the COMMON state initially and allow it to promote automatically.
Since common state promotion/decay is optional on Xbox, it must continue to use COPY_DEST as the initial state for this platform.
When SetEnableGPUBasedValidation is enabled on Windows, the initial state for a resource will result in a harmless but noisy warning.
The fix is to use the
COMMON
state initially and allow it to promote automatically.