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 validation warning #42

Open
zhaijialong opened this issue Jan 2, 2022 · 3 comments
Open

d3d12 validation warning #42

zhaijialong opened this issue Jan 2, 2022 · 3 comments

Comments

@zhaijialong
Copy link

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]
@gareththomasamd
Copy link
Contributor

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?

@zhaijialong
Copy link
Author

zhaijialong commented Jan 12, 2022

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.

@gareththomasamd
Copy link
Contributor

Ok, repro'ed it. We'll look into it now. Thanks!

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

No branches or pull requests

2 participants