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

Glow uniforms #4

Merged
merged 2 commits into from
Jul 1, 2019
Merged

Glow uniforms #4

merged 2 commits into from
Jul 1, 2019

Conversation

endgame
Copy link
Contributor

@endgame endgame commented Jun 30, 2019

I think I'm gonna need the other uniform functions soon, so I'm adding them now. These haven't been tested, just typechecked; I'm not sure I quite grok the Storable stuff yet.

@endgame
Copy link
Contributor Author

endgame commented Jul 1, 2019

I hacked together a test where I passed in an array of vec3 into a shader, and it all seems to work correctly.

@ekmett ekmett merged commit 5543a73 into ekmett:master Jul 1, 2019
@ekmett
Copy link
Owner

ekmett commented Jul 1, 2019

I'll kill the now-superfluous parens, but no issue merging.

ekmett added a commit that referenced this pull request Jul 1, 2019
@ekmett
Copy link
Owner

ekmett commented Jul 1, 2019

The main reason I haven't run into the need for at least the odd shaped matrices here is that I long ago internalized the rules for what has what size in STD140, so i just never even really noticed they were missing. That said, the ones for doubles and ints, etc. and the uniformity of it all are all very welcome!

@endgame endgame deleted the glow-uniforms branch July 1, 2019 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants