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

Fix: shader preprocessor to support older chrome versions #10320

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Fix: shader preprocessor to support older chrome versions #10320

merged 1 commit into from
Mar 13, 2024

Conversation

dragoon
Copy link
Contributor

@dragoon dragoon commented Mar 13, 2024

Chrome 78 and older do not parse shader source correct when single quote is present inside the comment and produce and error message: shaderSource: string not ASCII

Description of change
Pre-Merge Checklist
  • Tests and/or benchmarks are included
  • Documentation is changed or added
  • Lint process passed (npm run lint)
  • Tests passed (npm run test)

Chrome 78 and older do not parse shader source correct when single quote is present inside the comment and produce and error message: shaderSource: string not ASCII
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 1b78907:

Sandbox Source
pixi.js-sandbox Configuration

@Zyie Zyie added the v8 label Mar 13, 2024
@Zyie Zyie changed the title Remove single quote from comment to support older chrome versions Fix: shader preprocessor to support older chrome versions Mar 13, 2024
@GoodBoyDigital
Copy link
Member

nice catch @dragoon !

@Zyie Zyie added the ✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t label Mar 13, 2024
Copy link
Member

@bigtimebuddy bigtimebuddy left a comment

Choose a reason for hiding this comment

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

Wow, good find!

@Zyie Zyie added this pull request to the merge queue Mar 13, 2024
Merged via the queue into pixijs:dev with commit 6b424aa Mar 13, 2024
3 checks passed
@dragoon dragoon deleted the patch-1 branch March 13, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t v8
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants