Make parsing with ES3.0 the default. As it is a superset of 1.0, it s…#15
Open
NaridaL wants to merge 1 commit intoglslify:masterfrom
Open
Make parsing with ES3.0 the default. As it is a superset of 1.0, it s…#15NaridaL wants to merge 1 commit intoglslify:masterfrom
NaridaL wants to merge 1 commit intoglslify:masterfrom
Conversation
…hould cause fewer issues than the other way around.
Author
|
Currently glslify is incompatible with WebGL2 as keywords and functions such as uvec2 and texture2D are renamed. See also glslify/glslify#103 |
|
It appears glslify is dead. Did you find an alternative? |
Author
|
@mseddon I just ended up writing a simple webpack loader: Basically all it does is look for lines like It's a lot more basic than this because it doesn't attempt to remap/rename tokens but it worked fine for my case and it supports hotloading. Feel free to use it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…hould cause fewer issues than the other way around.