Created
September 30, 2015 01:50
-
-
Save AndrewRayCode/6e10bfa8a1300761ffd3 to your computer and use it in GitHub Desktop.
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
| let conflicts = _.chain( shaders ).reduce( ( memo, shader ) => { | |
| return memo.concat( | |
| shader.runtime.metadata.fragment.variables, | |
| shader.runtime.metadata.vertex.variables | |
| ); | |
| }, [] ).countBy().reduce( ( memo, countGroup, name ) => { | |
| if( countGroup > 1 ) { | |
| memo.push( name ); | |
| } | |
| return memo; | |
| }, [] ).value(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment