Skip to content

HLSL: provide string error context only if token is a string#4183

Merged
jeremy-lunarg merged 1 commit intoKhronosGroup:mainfrom
dneto0:string-err-ctx
Mar 10, 2026
Merged

HLSL: provide string error context only if token is a string#4183
jeremy-lunarg merged 1 commit intoKhronosGroup:mainfrom
dneto0:string-err-ctx

Conversation

@dneto0
Copy link
Copy Markdown
Contributor

@dneto0 dneto0 commented Mar 9, 2026

Some parse errors provide the token string as context. In some cases the most recent token might not be a string at all. In those cases, provide an empty string instead, rather than trying to read a corrupted pointer in the union.

Bug: crbug.com/247877918

Some parse errors provide the token string as context.
In some cases the most recent token might not be a string at all.
In those cases, provide an empty string instead, rather than
trying to read a corrupted pointer in the union.

Bug: crbug.com/247877918
@dneto0
Copy link
Copy Markdown
Contributor Author

dneto0 commented Mar 9, 2026

I've misconfigured the Google bots for ubuntu clang and gcc. stay tuned

@dneto0
Copy link
Copy Markdown
Contributor Author

dneto0 commented Mar 10, 2026

I'm having trouble with the GN builder. Please ignore that failure

Copy link
Copy Markdown
Contributor

@jeremy-lunarg jeremy-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. Ignoring GN builder failure as requested.

@jeremy-lunarg jeremy-lunarg merged commit d1f52c8 into KhronosGroup:main Mar 10, 2026
28 of 29 checks passed
@dneto0
Copy link
Copy Markdown
Contributor Author

dneto0 commented Mar 10, 2026

I just found out the GN build flow was never enabled on our side; I did a rewrite of the configs and accidentally enabled it. It never worked (!)

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