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

Emit correct name in debug info for scalar types #3323

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

sajjadmirzanv
Copy link
Contributor

Previously SpvBuilder would name all integer types "int/uint" and all floating-point types "float". With this change it names 64-bit types to "double" to match the GLSL language spec, and other scalar types in accordance with GL_EXT_shader_explicit_arithmetic_types (e.g. "uint8_t").

This change only affects debug info when NonSemantic.Shader.DebugInfo.100 is requested.

@CLAassistant
Copy link

CLAassistant commented Aug 30, 2023

CLA assistant check
All committers have signed the CLA.

@arcady-lunarg arcady-lunarg added the kokoro:run Trigger Google bot runs label Sep 4, 2023
@kokoro-team kokoro-team removed the kokoro:run Trigger Google bot runs label Sep 4, 2023
@arcady-lunarg
Copy link
Contributor

Looks like automated testing is failing, could you please fix that and then I can review your change?

commit 80bb403
Author: Sajjad Mirza <[email protected]>
Date:   Wed Aug 30 22:26:28 2023 +0100

    Add MIT license to new file.

commit df67700
Author: Sajjad Mirza <[email protected]>
Date:   Wed Aug 30 22:08:15 2023 +0100

    Nonsemantic debug info emits correct name for scalar types.
@sajjadmirzanv
Copy link
Contributor Author

sajjadmirzanv commented Sep 7, 2023

Looks like automated testing is failing, could you please fix that and then I can review your change?

Sorry about that, I have corrected the new test.

In that job the Windows build should have failed (it has the same failing test as the Linux and MacOS builds), but instead it passed. Maybe there's a problem in the test runner?

https://github.com/KhronosGroup/glslang/actions/runs/6030296198/job/16516875333?pr=3323#step:8:3581

@arcady-lunarg arcady-lunarg added the kokoro:run Trigger Google bot runs label Sep 11, 2023
@kokoro-team kokoro-team removed the kokoro:run Trigger Google bot runs label Sep 12, 2023
Copy link
Contributor

@arcady-lunarg arcady-lunarg left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@arcady-lunarg arcady-lunarg merged commit afe6e78 into KhronosGroup:main Sep 12, 2023
20 checks passed
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