Skip to content
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

[GLES] more shader cleanup #13446

Merged
merged 4 commits into from
Jan 29, 2018
Merged

[GLES] more shader cleanup #13446

merged 4 commits into from
Jan 29, 2018

Conversation

lrusak
Copy link
Contributor

@lrusak lrusak commented Jan 28, 2018

This has a few purposes:

  1. to align GLES code more similarly with GL code
  2. to allow using glslangValidator more easily as it only accepts .frag and .vert extensions
  3. to prepare for a separate GLES 3.0 code path

git does something funny when displaying the complete diff as it shows some files being removed and some new files being added. This is because the diff only detects the same file if it is 50% or more similar. So when removing the header which is over 50% of the file git thinks the file isn't the same. So I have split the commits into renaming the files, then in another commit changing the contents. If you view the individual commits it show things more clearly. This also allows the git history to be complete. If anyone has any hints or tips about this that would be awesome.

build and runtime tested on GBM but should be worth testing on android and other GLES platforms.

@lrusak lrusak added Type: Cleanup non-breaking change which removes non-working or unmaintained functionality v18 Leia labels Jan 28, 2018
@lrusak lrusak added this to the L 18.0-alpha1 milestone Jan 28, 2018
@MrMC
Copy link

MrMC commented Jan 28, 2018

Why is Copyright and licensing being removed from these files ?

@lrusak
Copy link
Contributor Author

lrusak commented Jan 28, 2018

@MrMC I'm not really sure. I think it had to do with running through the glslangValidator, but it seems to work fine with the headers. I've fixed it.

@MrMC
Copy link

MrMC commented Jan 28, 2018

thx, copyright and licensing should never get removed without the consent of the authors.

@lrusak
Copy link
Contributor Author

lrusak commented Jan 28, 2018

Yep sorry, that's my bad

Copy link
Contributor

@FernetMenta FernetMenta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is ok

@lrusak lrusak merged commit b33ba4d into xbmc:master Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Cleanup non-breaking change which removes non-working or unmaintained functionality v18 Leia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants