Sitelet https://github.com/microsoft/DirectX-Graphics-Samples/pull/727
Skip to content

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

Merged
James Stanard (stanard) merged 1 commit into
microsoft:masterfrom
TheRaddestBro:dynamicdescriptorheap_uninitialized_data
Jun 29, 2021
Merged

James Stanard (stanard) merged 1 commit into
microsoft:masterfrom
TheRaddestBro:dynamicdescriptorheap_uninitialized_data

Conversation

@TheRaddestBro

Copy link
Copy Markdown
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
James Stanard (stanard) merged commit 0efb8e1 into microsoft:master Jun 29, 2021
@stanard

Copy link
Copy Markdown
Member

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