-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
workaround for angle project issue 7245, safari, iOS #64811
workaround for angle project issue 7245, safari, iOS #64811
Conversation
drivers/gles3/shaders/particles.glsl
Outdated
@@ -211,7 +211,7 @@ VERTEX_SHADER_CODE | |||
|
|||
xform = transpose(xform); | |||
|
|||
out_velocity_active.a = mix(0.0, 1.0, shader_active); | |||
out_velocity_active.a = mix(0.0, 1.0, float(shader_active)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just out_velocity_active.a = float(shader_active);
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
156a26d
to
1ed1a30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Thanks! |
Cherry-picked for 3.5.1. |
Workaround for an angle limitation on safari on iOS, and Macos (confirmed on both host platforms).
This fix makes particles render properly on safari.
Works around this reported angle issue (also seems like a problem on angle's vulkan backend).