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

Revert "Fix GPUParticles are not rendered for older AMD GPUs with OpenGL+Angle" #98327

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

clayjohn
Copy link
Member

@clayjohn clayjohn commented Oct 18, 2024

Fixes: #96943
Fixes: #97875

This reverts commit 9cc9df5.

Maybe Reintroduces: #95797

We tested #96413 very carefully and Maran23 did a very detailed investigation, but this change has broken more projects than it fixed, so we need to revert for now and try again with something else.

@clayjohn clayjohn added this to the 4.4 milestone Oct 18, 2024
@clayjohn clayjohn requested a review from a team as a code owner October 18, 2024 23:09
@clayjohn
Copy link
Member Author

@Maran23 Could you test this on your device that reproduces #95797

I have just pushed with another commit that removes the polyfill when running with ANGLE based on a comment you made in #95797 (comment). I'm hoping that this will be enough to solve the bug you ran into while still keeping good behaviour on other devices

@Maran23
Copy link
Contributor

Maran23 commented Oct 19, 2024

Thank you for tackling this issue, as I am pretty clueless what to try next. Your idea with the ifdef looks promising.
I can and will test this next week!

@Maran23
Copy link
Contributor

Maran23 commented Oct 28, 2024

Tested and it works perfectly fine now.

To be sure, we did the following:

  • Tested Godot 4.3: Broken
  • Tested Godot 4.4dev3: Works
  • Tested this PR: Works

@clayjohn
Copy link
Member Author

Awesome! Thank you for checking. I'll squash the commits in this PR and then we can merge it.

…nGL+Angle"

This reverts commit 9cc9df5.

This also adds a fallback to avoid using the Godot versions of the half 2 float functions when using ANGLE.
Copy link
Contributor

@BastiaanOlij BastiaanOlij left a comment

Choose a reason for hiding this comment

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

lgtm

@Repiteo Repiteo merged commit 0315f31 into godotengine:master Nov 1, 2024
27 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 1, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants