When I'm touching the shaders in a fork of mapbox, this discrepancy will cause errors.
Because this PR is still incomplete, I'll mark this PR as a draft, so it's mostly a reminder that this still has to be fixed. I assume the final version of the PR will also have to run scripts/generate-shaders.js, while also adding the new attributes.
This pull request has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
In https://github.com/mapbox/mapbox-gl-js/pull/9372 the type of
u_scale
in fill_program was changed fromvec4
tovec3
. New attributes and some logic were also added.Because mapbox-gl-native re-uses the mapbox-gl-js shaders, I feel this should have been updated or reported as issue when the submodule was updated in https://github.com/mapbox/mapbox-gl-native/pull/16298.
When I'm touching the shaders in a fork of mapbox, this discrepancy will cause errors.
Because this PR is still incomplete, I'll mark this PR as a draft, so it's mostly a reminder that this still has to be fixed. I assume the final version of the PR will also have to run
scripts/generate-shaders.js
, while also adding the new attributes.Early feedback or comments welcome.
(It would be nice if you can tag this PR for hacktoberfest inclusion as described in https://hacktoberfest.digitalocean.com/details#rules - feel free to ignore this last bit if you don't want this)