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 selection on Intel GPUs #5762

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

murraystevenson
Copy link
Contributor

After positive user feedback that we were on the right track with the GL_BLEND investigation in #5734, this is an adjusted PR with a tidied up fix consolidating the enabling of GL_BLEND so it only occurs in ViewportGadget::renderInternal, rather than in various parts of StandardStyle and ViewportGadget::render.

This fixes #901 and #2788 on the Intel graphics hardware we have available to test with, and we'll close those in favour of newer reports of any further issues.

Enabling GL_BLEND for selection renders on Intel graphics hardware leads to corrupted ids in the selection buffer, so we now ensure it is disabled for selection renders in `renderInternal`.

We also consolidate the enabling of GL_BLEND so it only occurs in `renderInternal`, rather than in various parts of StandardStyle and in `ViewportGadget::render`.

This fixes GafferHQ#901 and GafferHQ#2788 on the Intel graphics hardware we have available to test with.
This should no longer be necessary now that we ensure `GL_BLEND` is disabled for selection renders.
@murraystevenson murraystevenson self-assigned this Apr 3, 2024
@johnhaddon johnhaddon merged commit d6f70d0 into GafferHQ:main Apr 3, 2024
5 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.

[0.98.0] Can't select, move or connect nodes
2 participants