-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Icons for Places and Highways do not Render in Safari #4728
Comments
@jfirebaugh I'm seeing the problem as well, and it has the same sluggish behavior as #4688. It only happens on every 200th reload or so. |
here's the {
"program": {},
"numAttributes": 3,
"a_size": 0,
"a_data": 1,
"a_pos_offset": 2,
...
} and the same for when the map is working correctly {
"program": {},
"numAttributes": 3,
"a_pos_offset": 0,
"a_size": 1,
"a_data": 2,
...
} |
Slightly different, but also occurred since the last release, so #4747 could be related. |
@jfirebaugh Yes, I can confirm it is still happening. @kkaefer Interesting. It happens more frequently than every 200th reload for me, though. They're never there. I can try getting another build off of master sometime today and see what the status is. |
That's possible. The attribute assignments are dependent only on the GPU driver/Shader compiler, so if your machine has a different GPU, you're likely to see different results. E.g. it's also possible that your shader cache has cached a version of the program with the bad attribute assignment, so you're now seeing it on every reload because it's retrieving the cached program. |
Sorry for not taking a look at this sooner — this is the same root cause as #4688; that PR only fixed it for the |
I think we should pursue the more complete fix now -- I think this issue could come up for any of the shaders. If |
👉 #4794 |
mapbox-gl-js version: master
Steps to Trigger Behavior
mapbox://styles/mapbox/streets-v9
styleExpected Behavior
There are black dots signifying the location of places on the map, like "Brak" and "Sabha", and there are also the icons behind the highway numbers.
Actual Behavior
There are no black dots signifying the location of places on the map, like "Brak" and "Sabha", and highway icons are missing.
I am using the mapbox-gl-js from master so I can get the fix from #4688, otherwise the labels wouldn't even be displaying.
The text was updated successfully, but these errors were encountered: