AGS_SDK
AGS_SDK copied to clipboard
d3d12 validation warning
There is a warning reported when calling agsDriverExtensionsDX12_CreateDevice
D3D12 WARNING: ID3D12Device::CreateCommittedResource: Ignoring InitialState D3D12_RESOURCE_STATE_GENERIC_READ. Buffers are effectively created in state D3D12_RESOURCE_STATE_COMMON. [ STATE_CREATION WARNING #1328: CREATERESOURCE_STATE_IGNORED]
Thanks for reporting. I am not seeing this in my test samples. Does this still happen in an "empty" app that just creates the AGS device?
Would it be possible to provide a repro case please?
Hi, @gareththomasamd
This warning message is coming from the latest agility sdk, so it may not exist in your D3D12 runtime if you are not using latest agility sdk.
Its message id in d3d12sdklayers.h
is D3D12_MESSAGE_ID_CREATERESOURCE_STATE_IGNORED = 1328
.
Ok, repro'ed it. We'll look into it now. Thanks!