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

Refactored PMREM blur shader due to apparent compiler bug #18935

Merged
merged 4 commits into from
Mar 24, 2020

Conversation

stevesan
Copy link
Contributor

@stevesan stevesan commented Mar 20, 2020

Without this fix, the PMREM generator would cause context loss (and my entire display to go black for a bit) on my laptop. Its GPU is the Intel HD Graphics 630. We originally thought this was a model-viewer issue, but this was the root cause.

Fixes #18936

…t compiler bug observed on Intel HD Graphics 630 GPU
Copy link
Contributor

@elalish elalish left a comment

Choose a reason for hiding this comment

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

Thanks for tracking down this weird glsl compiler issue @stevesan!

src/extras/PMREMGenerator.js Outdated Show resolved Hide resolved
src/extras/PMREMGenerator.js Outdated Show resolved Hide resolved
src/extras/PMREMGenerator.js Outdated Show resolved Hide resolved
@mrdoob mrdoob added this to the r115 milestone Mar 21, 2020
Copy link
Contributor

@elalish elalish left a comment

Choose a reason for hiding this comment

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

LGTM!

@mrdoob mrdoob merged commit aad6a5a into mrdoob:dev Mar 24, 2020
@mrdoob
Copy link
Owner

mrdoob commented Mar 24, 2020

Thanks!

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.

Any example involving IBLs "crashes" my laptop
5 participants