Skip to content

Cherry-pick of changes for PIX Early 2023 Release#4944

Merged
hekota merged 5 commits intomicrosoft:release-1.7.2212from
jeffnn:PIX_CP_Jan23
Jan 14, 2023
Merged

Cherry-pick of changes for PIX Early 2023 Release#4944
hekota merged 5 commits intomicrosoft:release-1.7.2212from
jeffnn:PIX_CP_Jan23

Conversation

@jeffnn
Copy link
Copy Markdown
Collaborator

@jeffnn jeffnn commented Jan 13, 2023

No description provided.

* Account for alignment

* Use llvm::RoundUpToAlignment
…#4929)

In the lib case, m_EntryPoint will be non-null but empty, but shouldn't be set anyway.
(Also, not clearing m_EntryPoint first can result in an assert in CComPtr that the poiner is non-null, and then the pointer is overwritten, resulting in a small memory leak.)
…icrosoft#4937)

These fixes were the result of a single shader from a well-known game engine, all of which resulted in mismatched offsets between PIX's offsets-into-fake-allocas and the offsets into aggregates for dbg.value statements.
-Base class sizes weren't being added to derived classes
-Samplers+Resources weren't being given any size at all
-Raygen payloads (referred to by pointer) were triggering an assert
Added a new set of tests for the type system to exercise these.
@jeffnn jeffnn self-assigned this Jan 13, 2023
Copy link
Copy Markdown
Member

@hekota hekota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the name of the PR/merge commit message to something more descriptive. Otherwise LGTM!

@jeffnn jeffnn changed the title Pix cp jan23 Cherry-pick of changes for PIX Eary 2023 Release Jan 13, 2023
@AppVeyorBot
Copy link
Copy Markdown

@hekota hekota changed the title Cherry-pick of changes for PIX Eary 2023 Release Cherry-pick of changes for PIX Early 2023 Release Jan 14, 2023
@hekota hekota merged commit 51c3200 into microsoft:release-1.7.2212 Jan 14, 2023
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.

3 participants