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

[Bug] Fixing a bit of uninitialized data in the DynamicDescriptorHeap class. #727

Conversation

TheRaddestBro
Copy link
Contributor

Came across this bug while attempting to create a new MiniEngine project. It is possible for m_StaleRootParamsBitMap to remain uninitialized if a Draw call is made before the proper PSO and Root signature is created.

A small issue, but this confounded me for a while, as the exception you will hit does not lead you down a path to fix it. It was not until I stepped through the debugger that I found m_StaleRootParamsBitMap was 0xcdcdcdcd

@stanard stanard merged commit 0efb8e1 into microsoft:master Jun 29, 2021
@stanard
Copy link
Member

stanard commented Jun 29, 2021

Thanks, TheRaddestBro. :-)

@TheRaddestBro TheRaddestBro deleted the dynamicdescriptorheap_uninitialized_data branch June 30, 2021 04:48
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

Successfully merging this pull request may close these issues.

2 participants