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

Update DebugGlobalVariable's Variable field #231

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

LU-JOHN
Copy link
Contributor

@LU-JOHN LU-JOHN commented Jan 22, 2024

Update description of DebugGlobalVariable's Variable field to allow Variable to hold a DebugExpression if the associated variable was optimized out. The DebugExpression will hold the constant value of the variable that was optimized out.

Signed-off-by: Lu, John <john.lu@intel.com>
@LU-JOHN LU-JOHN changed the title Update DebugGlobalVariable's Variable field (#229) Update DebugGlobalVariable's Variable field Jan 22, 2024
Copy link
Contributor

@MrSidims MrSidims left a comment

Choose a reason for hiding this comment

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

Ideally we should also update SPIR-V validator, but guess we need to get approvals here first.

@arcady-lunarg
Copy link

Ultimately this debug info is consumed by Renderdoc so I think it might be good to hear @baldurk's opinion here.

@bashbaug
Copy link
Collaborator

Merging as discussed in the January 24th teleconference.

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.

4 participants